PhysicsEngineIsFirstContact Method |
Record the specified sensor and load as touching. The ProcessCollision(PhysicsCollision, Visual, PhysicsBody)
method will be called with other=null when the contact is broken, and the first time
the load is seen this method will return true.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic bool IsFirstContact(
Visual sensor,
Visual load
)
Parameters
- sensor Visual
[Missing <param name="sensor"/> documentation for "M:Demo3D.Visuals.PhysicsEngine.IsFirstContact(Demo3D.Visuals.Visual,Demo3D.Visuals.Visual)"]
- load Visual
[Missing <param name="load"/> documentation for "M:Demo3D.Visuals.PhysicsEngine.IsFirstContact(Demo3D.Visuals.Visual,Demo3D.Visuals.Visual)"]
Return Value
BooleanTrue if this is the first contact, false otherwise.
See Also