Need help with balance rotation mechanic on 3D soldier
Hi everyone! I need some help with rotation values in unity. Never been an expert in them.
I have a 3D Physics character that I want to give a balance mechanic.
Now how I want to achieve this is by letting a rigidbody cube follow the player head but can be knocked in any direction that slowy flies back towards the character (regaining balance). creating a direction where the 3d model should bend towards!
Now here comes the tricky part ( I think), I want to rotate my character towards the rigidbody cube but keep the character facing his direction where he wants to run. (So only bend backwards/forward and to the sides for the balance effect).
Could someone help me with this? :)
I have supplied 2 pictures demonstrating the balance bending mechanic im trying to create.
Your answer