Click or drag to resize

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.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public bool IsFirstContact(
	Visual sensor,
	Visual load
)

Parameters

sensor
Type: Demo3D.VisualsVisual

[Missing <param name="sensor"/> documentation for "M:Demo3D.Visuals.PhysicsEngine.IsFirstContact(Demo3D.Visuals.Visual,Demo3D.Visuals.Visual)"]

load
Type: Demo3D.VisualsVisual

[Missing <param name="load"/> documentation for "M:Demo3D.Visuals.PhysicsEngine.IsFirstContact(Demo3D.Visuals.Visual,Demo3D.Visuals.Visual)"]

Return Value

Type: Boolean
True if this is the first contact, false otherwise.
See Also