Class PhysicsJointSliding
A PhysicsJointSliding connects two physics bodies as if by a sliding rod.
public sealed class PhysicsJointSliding : PhysicsJoint
- Inheritance
-
PhysicsJointSliding
- Inherited Members
Constructors
PhysicsJointSliding(PhysicsBody, PhysicsBody, PointF, Vector2)
Connect two physics bodies as if by a sliding rod.
public PhysicsJointSliding(PhysicsBody bodyA, PhysicsBody bodyB, PointF anchor, Vector2 axis)
Parameters
bodyAPhysicsBodybodyBPhysicsBodyanchorPointFaxisVector2
Properties
LowerDistanceLimit
Lower distance from the anchor point that objects may slide.
public float LowerDistanceLimit { get; set; }
Property Value
UpperDistanceLimit
Upper distance from the anchor point that objects may slide.
public float UpperDistanceLimit { get; set; }