I'm developing a game on AndEngine (with Box2d) and on iOS Sprite Kit simultaneously. I want the game's physics to be identical on both platforms. Sprite Kit uses Box2d internally for physics simulation and I'm using Box2d-AndEngine to use it in AndEngine.
In Sprite Kit, I use physicsBody.velocity
.
In AndEngine's Box2d, I use body.SetLinearVelocity(x,y)
.
In Sprite Kit, a physics body's velocity vector is measured in meters per second.
What is the corresponding unit of SetLinearVelocity
in Box2d-AndEngine?