PrismaticJoint Constructor |
Name | Description | |
---|---|---|
PrismaticJoint(Body, Body, Vector2, Vector2, Boolean) | Initializes a new instance of the PrismaticJoint class | |
PrismaticJoint(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.
|