mohsen.nikroo Posted January 1, 2013 Posted January 1, 2013 Hi One problem unigine When we execute these two function together, players can change position? What is the reason for this? BodyRigid b = create_obj(0.5f,float(density),float(mass),float(friction),1,4,inverse(player.getIWorldTransform()) * translate(0,0,-1.5f) ,numbersend); vec3 a=player.getPosition(); b.setLinearVelocity(a * float(Velocity) );
manguste Posted January 10, 2013 Posted January 10, 2013 Can you provide a minimal test scene? It's not clear what you mean under "players can change position".
Recommended Posts