PhysicsEngineCreateHingeJoint Method (PhysicsRigidBody, Matrix) | 
 
            Creates a hinge (revolute) joint in the physics world that constrains the specified
            rigid body to maintain a fixed distance from the origin of the speicied transform but is
            allowed to pivot about the z-axis of the specified transform.
            
 
    Namespace: 
   Demo3D.Visuals
    Assembly:
   Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntaxpublic PhysicsHingeJoint CreateHingeJoint(
	PhysicsRigidBody rigidBody,
	Matrix transform
)
Parameters
- rigidBody
 - Type: Demo3D.VisualsPhysicsRigidBody
The rigid body to constrain. - transform
 - Type: Microsoft.DirectXMatrix
The transform for the hinge in world-space, where the local z-axis is the axis of rotation. 
Return Value
Type: 
PhysicsHingeJointThe created hinge joint.
See Also