RigidBodyComponent.SubscriptionHandler

RigidBodyComponent.SubscriptionHandler Delegate

Handler for rigid body events.

Syntax

[Sansar.Script.Interface]
[System.Obsolete("Use subscription callbacks of type Action<Sansar.Simulation.CollisionData>", false)]
public delegate void RigidBodyComponent.SubscriptionHandler (CollisionEventType EventType, Sansar.Script.ComponentId ComponentId, Sansar.Script.ComponentId HitComponentId, ObjectPublic HitObject, CollisionEventPhase Phase, ControlPointType HitControlPoint)

Parameters

EventType
The type of collision which occurred.
ComponentId
The id of the rigid body component.
HitComponentId
The id of the rigid body component or character that was hit.
HitObject
The Sansar.Simulation.ObjectPublic that was hit.
Phase
used by trigger events to determine if trigger enter or exit occurred
HitControlPoint
The specific control point hit, if any

Remarks

 

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0
 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.