Click or drag to resize

PhysicsEngineCreateSliderJoint Method (PhysicsRigidBody, Matrix)

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: 15.0.2.11458
Syntax
C#
public PhysicsSliderJoint CreateSliderJoint(
	PhysicsRigidBody rigidBody,
	Matrix transform
)

Parameters

rigidBody
Type: Demo3D.VisualsPhysicsRigidBody
The rigid body to constrain.
transform
Type: Microsoft.DirectXMatrix
The transform for the slider in world-space, where the local x-axis is the axis of permitted movement.

Return Value

Type: PhysicsSliderJoint

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

See Also