Wobbly Sprite

Blitz3D Forums/Blitz3D Beginners Area/Wobbly Sprite

pc_tek(Posted 2008) [#1]
How come, when I rotate my sprite...it wobbles. No matter the size or if it's an even or odd width and height?


GfK(Posted 2008) [#2]
It might be too close to the camera.


*(Posted 2008) [#3]
or its to far from 0,0,0 and is generating zbuffer issues.


pc_tek(Posted 2008) [#4]
Hi G!

Hmmm...I may just have to live with a wobble...lol


GfK(Posted 2008) [#5]
Well, if it IS too close to the camera, and assuming you're using it for some kind of HUD/GUI, move it away from the camera and scale it up (so it still appears the same size), and also set it to be drawn last with EntityOrder.


Ross C(Posted 2008) [#6]
A bit more info might be nice, or a code sample to demonstrate the effect.


pc_tek(Posted 2008) [#7]
Sorry for delay, Ross.

I have simply added a squeak sound effect. Looks quite effective with a wobbly sprite...LMAO!

I will include a source file next time I need a perfect rotating object though...cheers!