Hi guys,
It's been a long time since i was active but i'm trying to whip myself into some productivity :^)
I have a nice little engine up and running and i thought, just for fun it might be nice to have some physics objects in my game. Not integral to the game play in any way but just something visually interesting.
And so i thought, crates! Specifically ones you would push for a puzzle and that would shatter once used.
Cue the physics engine!
But there is a quirk i remember even from beta testing and i wonder if i'm just being thick and not seeing how to fix it, and so here i am :^D
So i have 32x32 tiles and a 32x32 crate active object. It's simply a brown square for the moment.
I tested flinging it about and although the actual movement is very satisfying, one glaring flaw remains. It is constantly floating 1px above the floor!
Considering the game is a somewhat low res game using pixel art, that 1px gap renders the effect unusable :^\
My object is set to Physics - static movement. I've tried collision shape as box and as shape of first image. Turned smooth rotations on and off. Even tried making the crate 31 x 31 so there is an absolute center pixel but nothing helps.
Here is a snapshot to illustrate what is happening.
Please login to see this link.
Hopefully some bright spark on here can show me where i'm going wrong :^)