Iam trying to update the position of my node.. but for some weird reason it doesn't go to the place iam telling it to go to....
example:
Code: Select all
ISceneNode *Spawn = spawnPoint[nr].Node; // the spawnpoint it needs to spawn on..
player[active].Node->setPosition(Spawn->getPosition());
but if i set it to the player node it isnt the correct one.. ( weird thing about this ) the position is never the same when it is set
if i check it before i set the new position it is always the same..
printf("%f,%f,%f\n", Spawn.X,Spawn.Y,Spawn.Z);
so maby somebody has a sollution for this..
Thx..