PhysicsEngineCreateSliderJoint(PhysicsRigidBody, PhysicsRigidBody, Matrix) Method |
Creates a slider (prismatic) joint in the physics world that constrains the specified
rigid bodies to maintain a fixed orientation relative to each other but are allowed to
move in the direction of the specified transform's x-axis.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic PhysicsSliderJoint CreateSliderJoint(
PhysicsRigidBody rigidBody1,
PhysicsRigidBody rigidBody2,
Matrix transform
)
Parameters
- rigidBody1 PhysicsRigidBody
- The first rigid body to constrain.
- rigidBody2 PhysicsRigidBody
- The second 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,Demo3D.Visuals.PhysicsRigidBody,Microsoft.DirectX.Matrix)"]
See Also