file: Body.aus

class: Body

[23:7] extends: FxObj

Wraps jbox2d's Body (com.almasb.fxgl.physics.box2d.dynamics.Body), the runtime physics body created by World.createBody. Carries the type, position, angle, linear / angular velocity, damping flags, mass data, and the attached fixtures. The Aussom wrapper exposes the read-write surface most users need. Lower-level API (transform, world-vector helpers, mass data, etc.) is reachable directly on this.obj.

Methods