Click or drag to resize

PhysicsSliderJoint Class

Represents a powered slider/piston, permitting RigidBodyB to move only along the hinge's Axis. The rotation of RigidBodyA relative to RigidBodyB is locked.
Inheritance Hierarchy
SystemObject
  PhysicsJoint
    Demo3D.VisualsPhysicsSliderJoint

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

The PhysicsSliderJoint type exposes the following members.

Properties
  NameDescription
Public propertyAxis
The axis/direction for the slider in world-space.
Public propertyDistance
The linear travel.
Public propertyLowerDistanceLimit
The lower limit for the linear travel.
Public propertyMaximumLinearForce
The maximum force that can be used to achieve the TargetLinearSpeed.
Public propertyTargetLinearSpeed
The target linear speed along the Axis of the slider in meters per second.
Public propertyUpperDistanceLimit
The upper limit for the linear travel.
Top
Remarks
Note that although the Axis property is in world space coordinates, the hinge is relative to RigidBodyA and so this property will be updated as RigidBodyA is moved.
See Also