[This is preliminary documentation and is subject to change.]
Gets the last collision of this entity.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
public bool GetLastCollision( out Vector3 position, out Vector3 normal, out string materialName )
Parameters
- position
- Type: RageVector3
The position the collision occurred at. - normal
- Type: RageVector3
The normal of the collision. - materialName
- Type: SystemString
The name of the material the entity collided with.
Return Value
Type: BooleanReturns true if this entity has collided with anything; otherwise, returns false.
See Also