Click or drag to resize

PhysicsHingeJoint Class

Represents a powered hinge, permitting RigidBodyB to orbit the hinge's Position about the hinge's Axis.
Inheritance Hierarchy
SystemObject
  PhysicsJoint
    Demo3D.VisualsPhysicsHingeJoint

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public class PhysicsHingeJoint : PhysicsJoint

The PhysicsHingeJoint type exposes the following members.

Properties
  NameDescription
Public propertyAngle
The hinge angle in radians.
Public propertyAxis
The axis about which the hinge rotates in world space.
Public propertyLowerAngleLimit
The lower limit for the hinge angle.
Public propertyMaximumTorque
The maximum force/toque that can be used to achieve the TargetAngularSpeed.
Public propertyMode
The drive mode for the joint.
Public propertyPosition
The location of the hinge in world space.
Public propertyTargetAngularPosition
The target angular position about the Axis in radians.
Public propertyTargetAngularSpeed
The target angular speed about the axis in radians per second.
Public propertyUpperAngleLimit
The upper limit for the hinge angle.
Top
Remarks
Note that although the Position and Axis properties are in world space coordinates, the hinge is relative to RigidBodyA and so these properties will be updated as RigidBodyA is moved.
See Also