Class PhysicsJointLimit
A PhysicsJoint that connects two physics bodies as if by a rope.
public sealed class PhysicsJointLimit : PhysicsJoint
- Inheritance
-
PhysicsJointLimit
- Inherited Members
Constructors
PhysicsJointLimit(PhysicsBody, PhysicsBody, PointF, PointF)
Connect two physics bodies as if by a rope.
public PhysicsJointLimit(PhysicsBody bodyA, PhysicsBody bodyB, PointF anchorA, PointF anchorB)
Parameters
bodyAPhysicsBodybodyBPhysicsBodyanchorAPointFanchorBPointF
Properties
MaxLength
Maximum distance that is allowed between the bodies that are connected by the joint
public float MaxLength { get; set; }