I'm prototyping a simple game similar to Gold Miner:
http://www.mofunzone.com/online_games/goldminer.shtml where you pick up "crates" with a "hook" that rotates at the top of the screen - upon clicking on the hook it shoots down and grabs any crate in its path and brings it back up.
I have an FSM on the crate to look if its been collided with (the hook has a rigid body, crate is just using a box collider), at which point it will use a Set Parent action and make the hook its parent, and retract.
This works for the most part, however if the hook hits it at any kind of oblique angle, the crate's mesh will deform into a rhombus, and I have no idea why. (The more oblique the angle of contact the more severe the deformation) Ideally I would like to rotate the crate to the normal of the hooks surface, but I don't want any mesh deformation!
Anybody have advice? I can provide pictures if needed when I get my website up and running again.
Thanks!