void my_onforceandtorque(NewtonBody* body) { float mass, ixx, iyy, izz; NewtonBodyGetMassMatrix(body, &mass, &ixx, &iyy, &izz); NewtonBodySetForce(body, vectorf(0, 0, 0)); } function player() { wait(2); newton_addentity(me, (float)(9), NEWTON_BOX,my_onforceandtorque); ...
function player() { wait(2); newton_addentity(me, (float)(9), NEWTON_BOX,NULL); ...
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de