Motion

How a particle or a rigid body moves each substep: see Particles.setMotion and RigidBodies.setMotion.

Entries

Link copied to clipboard

Held to PhysicsConfig.maxStep a substep, which keeps it out of thin walls at ordinary speeds.

Link copied to clipboard

Swept from where it was to where it went each substep, so it can go as fast as it likes and never passes through a wall.

Properties

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

Functions

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

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.