Cogito, ergo sum

UE2:CollisionNotifier (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> LegendActorComponent >> CollisionNotifier
Package: 
Legend

CollisionNotifier.uc $Author: Mfox $ $Date: 4/30/02 12:22p $ $Revision: 2 $

Description: Used to add a second collision radius to a projectile. If we had interfaces *hint* *hint*, we could easily generalize this to notify any Actor. How to use this class:

Spawn.
Set CollisionHeight and Radius.
Initialize with a Projectile to follow/notify and an offset from that

projectile. Notifications will be send via Explode().

TurnOn() and TurnOff() as desired. (Starts as off)
Destroy when no longer needed.

Properties[edit]

IgnoredActor[edit]

Type: Actor


Offset[edit]

Type: Object.Vector

Offset from parent projectile. (Relative to projectile's rotation).

ParentProj[edit]

Type: Projectile

Projectile to follow/notify.

Functions[edit]

Events[edit]

HitWall[edit]

event HitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Actor.HitWall


Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Touch[edit]

simulated singular event Touch (Actor Other)

Overrides: Actor.Touch


Other instance functions[edit]

Initialize[edit]

function Initialize (Projectile InParentProj, optional Object.Vector Offset)


SetIgnoredActor[edit]

function SetIgnoredActor (Actor Ignore)


SetOffset[edit]

function SetOffset (Object.Vector InOffset)


TurnOff[edit]

function TurnOff ()


TurnOn[edit]

function TurnOn ()