UE2:CollisionNotifier (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
![]() |
Object >> Actor >> LegendActorComponent >> CollisionNotifier |
- Package:
- Legend
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
IgnoredActor
Type: Actor
Offset
Type: Object.Vector
Offset from parent projectile. (Relative to projectile's rotation).
ParentProj
Type: Projectile
Projectile to follow/notify.
Functions
Events
HitWall
event HitWall (Object.Vector HitNormal, Actor Wall)
Overrides: Actor.HitWall
Tick
simulated event Tick (float DeltaTime)
Overrides: Actor.Tick
Touch
simulated singular event Touch (Actor Other)
Overrides: Actor.Touch
Other instance functions
Initialize
function Initialize (Projectile InParentProj, optional Object.Vector Offset)
SetIgnoredActor
function SetIgnoredActor (Actor Ignore)
SetOffset
function SetOffset (Object.Vector InOffset)
TurnOff
function TurnOff ()
TurnOn
function TurnOn ()