- getPosition
Get the world body origin position. Note that the same Vector2 instance is
returned each time this m
- createFixture
Creates a fixture from a shape and attach it to this body. This is a convenience
function. Use b2Fix
- getAngle
Get the angle in radians.
- setTransform
Set the position of the body's origin and rotation. This breaks any contacts and
wakes the other bod
- getFixtureList
Get the list of all fixtures attached to this body. Do not modify the list!
- setLinearVelocity
Set the linear velocity of the center of mass.
- setUserData
Set the user data
- applyLinearImpulse
Apply an impulse at a point. This immediately modifies the velocity. It also
modifies the angular ve
- getLinearVelocity
Get the linear velocity of the center of mass. Note that the same Vector2
instance is returned each
- getLocalPoint
Gets a local point relative to the body's origin given a world point. Note that
the same Vector2 ins
- getUserData
Get the user data
- isActive
Get the active state of the body.