Closed Fishrock123 closed 11 years ago
These all create a body at 0, 0
_bodyDef.set_position(0, 0) _bodyDef.set_position(200 , -9000) _bodyDef.set_position(40, 50) _bodyDef.set_position(-60, -20) _bodyDef.set_position(x, y)
You have to pass the the position as a b2Vec2
b2Vec2
_bodyDef.set_position(new Box2D.b2Vec2(200 , -9000));
This should be closed because set_position functions exactly as it is supposed to.
set_position
These all create a body at 0, 0