Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: HeadClot on March 24, 2012, 08:32:36 PM
-
OK, I am re-writing this topic as the thing i wanted to do I found was not really feasible without some programing.
Here is my goal - Create a realistic Player Controller using Unity and Playmaker - Details below.
Now I got the tank to move but not in the fashion I would like it to...
Rotation along the X is way to fast for Tank Movement.
Is there any way I can break up the controls into chunks, so that I have maximum control over the rotation speed, Forward/Reverse Translation?
Any Help would be appreciated :)
-
You can have multiple FSMs on an object. Make one for each axis of your controller. E.g., a rotation FSM, a foward/reverse FSM, a firing FSM...
-
Hey Thanks :D
Going to try this out right now :)
-
http://www.unifycommunity.com/wiki/index.php?title=SimpleTankController
This is a really good realistic tank movement script. Everything is easily customizable. I also made the camera follow the turret. and used the "Mouse Look" FSM to look around. Took some messing around to get it working right w/o sending my tank flying into the air, but its working fine for me now :)
-
Also if anyone can help me figure out how to make this work for touchpads or joysticks on for iOS, that would be amazing :)