the car body's position change if move

r1cky17

25-11-2007 06:34:10

why the car body change it's position

the 1st one is right here, it's not changed yet


and if i move the car, the car body is like this


what wrong with that?
thx for the help

r1cky17

25-11-2007 07:03:37

i declare variable string like this


String objek[99999];
int maxObjek;


and i change that into this, and the problem solved.

String objek[1000];
int maxObjek;


but, before this, it's happen too.
but i show the mouse and it become like this problem too.
it's happen in other too?
how to solve for the mouse problem.
thx

Lioric

26-11-2007 15:14:27

Its not clear what exactly your issue is, is it with the object position or with memory and strings?

In any case, if it is about the object being positionated in a different location and you are not doing this (un)intentional, you can add a "node listener" to be notified when the objects is being moved (and review the call stack to define why) or if the memory is being corrupted (you might have an buffer overflow in your code) and the node position is being overwritten, you can set a data debug breakpoint in the memory location of the node's position that will be called when the memory is being changed (and review the call stack)