Click or drag to resize

PhysicsEngineCreateSimulationSensor Method

Creates a non-movable sensor for planar physics with the specified geometry and world-space transform in the physics world.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public PhysicsStaticBody CreateSimulationSensor(
	PhysicsGeometry geometry,
	Matrix transform
)

Parameters

geometry
Type: Demo3D.VisualsPhysicsGeometry
The geometry for the sensor.
transform
Type: Microsoft.DirectXMatrix
The world-space transform for the sensor.

Return Value

Type: PhysicsStaticBody
The created physics object for the sensor.
See Also