playMaker

Author Topic: Creating a Realistic Tank Player Controller  (Read 6451 times)

HeadClot

  • Playmaker Newbie
  • *
  • Posts: 3
Creating a Realistic Tank Player Controller
« 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 :)
« Last Edit: March 25, 2012, 01:54:48 PM by HeadClot »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3999
  • Official Playmaker Support
    • LinkedIn
Re: Creating a Realistic Tank Player Controller
« Reply #1 on: March 25, 2012, 02:52:04 PM »
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...

HeadClot

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Creating a Realistic Tank Player Controller
« Reply #2 on: March 25, 2012, 03:33:07 PM »
Hey Thanks :D

Going to try this out right now :)

SirNikkolas

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Creating a Realistic Tank Player Controller
« Reply #3 on: March 25, 2012, 08:48:09 PM »
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 :)

SirNikkolas

  • Playmaker Newbie
  • *
  • Posts: 9
Re: Creating a Realistic Tank Player Controller
« Reply #4 on: March 25, 2012, 08:56:22 PM »
Also if anyone can help me figure out how to make this work for touchpads or joysticks on for iOS, that would be amazing :)