Companion

Makes the links, and is the component type they are stored under.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun of(particle: Particle): PhysicsBody

Returns a link that follows particle: its place.

Returns a link that follows body: its shapes' origin and its angle.

fun of(body: SoftBody): PhysicsBody

Returns a link that follows body: the middle of its ring, and how far it has turned.

Link copied to clipboard
open override fun toString(): String