- Home /
My character vibrates.
My character vibrates when it gets too far from 0,0,0 because of floating point acuracy, I can't go more than 1000 without it vibrating like crazy. Is there any solution to this problem?
pls post the Code the Problem belongs to. What are you trying to do? How do you move the character?
There is no code... I'm using an animation to move a standard camera from 0 to like 5000. It's a floating point accuracy problem.
If I scale everything down it causes more issues than it solves. Like I can't see anything that Is within a reasonable distance to me because I can't set the near clip plane lower than 0.1. argggg... frustrating!
Answer by Rtyper · Mar 03, 2015 at 01:23 PM
You've sort of answered your own question there - the problem is floating point error, and there's no way around that. Your best bet (if you're using an animation) would probably be to scale everything down, though you'd need to remake your animation as I don't think animation values scale down properly.