ChipmunkPhysics2D/RigidBody2D: Add ToLocal/ToWorld methods
This commit is contained in:
@@ -98,6 +98,11 @@ namespace Nz
|
||||
|
||||
void TeleportTo(const Vector2f& position, const RadianAnglef& rotation);
|
||||
|
||||
RadianAnglef ToLocal(const RadianAnglef& worldRotation);
|
||||
Vector2f ToLocal(const Vector2f& worldPosition);
|
||||
RadianAnglef ToWorld(const RadianAnglef& localRotation);
|
||||
Vector2f ToWorld(const Vector2f& localPosition);
|
||||
|
||||
void UpdateVelocity(const Vector2f& gravity, float damping, float deltaTime);
|
||||
|
||||
void Wakeup();
|
||||
|
||||
Reference in New Issue
Block a user