Making a Sackbot Move Its Head
Hello LBPCentral,
I am requesting help on some player-controlled sackbot logic I haven't been able to figure out.
In my RPG-like level, the player is never visible and controls a sackbot via the usual following hologram controllinator.
The sackbot has a system set up where at some points he can possess a weapon, in this case a small pistol.
The pistol is wired so that moving the right analog stick moves his arm (by using a Joystick Rotator), and pressing R1 while aiming will fire.
The problem is, the firing animation and path of the bullet only work as precisely as possible when the sackbot is facing the direction he's shooting. I doubt the player is going to want to have to tilt the controller deliberately every time he/she shoots.
My question is: Can I wire the controller so that moving his arm with the right analog stick left/right will move his face left/right? Is it possible to control or restrict head tilt at all?