Table of Contents

Class PhysicsJointSliding

Namespace
Fantas.Physics
Assembly
Fantas.dll

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

bodyA PhysicsBody
bodyB PhysicsBody
anchor PointF
axis Vector2

Properties

LowerDistanceLimit

Lower distance from the anchor point that objects may slide.

public float LowerDistanceLimit { get; set; }

Property Value

float

UpperDistanceLimit

Upper distance from the anchor point that objects may slide.

public float UpperDistanceLimit { get; set; }

Property Value

float