Click or drag to resize

PrismaticJoint Constructor

Overload List
  NameDescription
Public methodPrismaticJoint(Body, Body, Vector2, Vector2, Boolean)
Initializes a new instance of the PrismaticJoint class
Public methodPrismaticJoint(Body, Body, Vector2, Vector2, Vector2, Boolean)
This requires defining a line of motion using an axis and an anchor point. The definition uses local anchor points and a local axis so that the initial configuration can violate the constraint slightly. The joint translation is zero when the local anchor points coincide in world space. Using local anchors and a local axis helps when saving and loading a game.
Top
See Also