Click or drag to resize

PhysicsEngineCreateSliderJoint(PhysicsRigidBody, Matrix) Method

Creates a slider (prismatic) joint in the physics world that constrains the specified rigid body to maintain a fixed orientation in the physics world but is allowed to move in the direction of the specified transform's x-axis.

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public PhysicsSliderJoint CreateSliderJoint(
	PhysicsRigidBody rigidBody,
	Matrix transform
)

Parameters

rigidBody  PhysicsRigidBody
The rigid body to constrain.
transform  Matrix
The transform for the slider in world-space, where the local x-axis is the axis of permitted movement.

Return Value

PhysicsSliderJoint

[Missing <returns> documentation for "M:Demo3D.Visuals.PhysicsEngine.CreateSliderJoint(Demo3D.Visuals.PhysicsRigidBody,Microsoft.DirectX.Matrix)"]

See Also