Click or drag to resize

PhysicsEngineAddGeometryProcessContactHandler Method

Note: This API is now obsolete.

Add a delegate for a specific geometry that is called for each contact point generated when the specified geometry collides with another physics object's geometry.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
[ObsoleteAttribute("AddGeometryProcessContactHandler is deprecated, please use AddGeometryProcessCollisionHandler instead.", 
	false)]
public void AddGeometryProcessContactHandler(
	PhysicsGeometry geometry,
	ProcessContactHandler handler
)

Parameters

geometry
Type: Demo3D.VisualsPhysicsGeometry

[Missing <param name="geometry"/> documentation for "M:Demo3D.Visuals.PhysicsEngine.AddGeometryProcessContactHandler(Demo3D.Visuals.PhysicsGeometry,Demo3D.Visuals.ProcessContactHandler)"]

handler
Type: ProcessContactHandler

[Missing <param name="handler"/> documentation for "M:Demo3D.Visuals.PhysicsEngine.AddGeometryProcessContactHandler(Demo3D.Visuals.PhysicsGeometry,Demo3D.Visuals.ProcessContactHandler)"]

Remarks
Using geometry contact handlers is deprecated. Use geometry collision handlers instead.
See Also