JointType

Joint types supported by Box2D.

Entries

Link copied to clipboard

Keeps two bodies at a fixed distance

Link copied to clipboard

Applies force/torque to reach target position/angle

Link copied to clipboard

Follows a target point (for mouse interaction)

Link copied to clipboard

Allows translation along an axis (slider)

Link copied to clipboard

Allows rotation around a point (hinge)

Link copied to clipboard

Welds two bodies together rigidly

Link copied to clipboard

Simulates a wheel with suspension

Link copied to clipboard

Disables collision between two bodies

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): JointType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.