Table of Contents

Class PhysicsJointLimit

Namespace
Fantas.Physics
Assembly
Fantas.dll

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

bodyA PhysicsBody
bodyB PhysicsBody
anchorA PointF
anchorB PointF

Properties

MaxLength

Maximum distance that is allowed between the bodies that are connected by the joint

public float MaxLength { get; set; }

Property Value

float