Fidgeting Objects
KempProductions
Member Posts: 139
On the game im working on, some of the objects will fidget slightly every once in awhile. Does anyone know why this would be happening?
Comments
I've noticed that objects that have moved never quite seem to settle down again after movement.
I have a rule called stabilize that says if the speed drops below 10 and greater than 0 change velocity to 0.
I thought this was fixed in 0.8.2 though?
No?
Hmm...
Are they constrained to something? Maybe rounding errors are seeping in. Possibly clean up their values with ceiling() or floor(). You may also want to edit their X/Y location to be on a pixel instead of on a fraction pixel if they are manually placed and stationary. Just some thoughts.
But it just may be a fluke.
I have two actors duplicated by each other, one stutters, one doesn't. I'll have to see if their X/Y are on a pixel or on a fractional pixel (i.e. for an actor at the center of the visible screen, they would be placed at X240 and Y160 however if you manually placed one, it may be off a bit such as 240.6 and 160.7). If you have any constraints or such (likely a rotation) acting on the actor, I could foresee it fidgeting about due to rounding errors.