Author Topic: MpGK tank not moving forward  (Read 1838 times)

frostamation

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
MpGK tank not moving forward
« on: June 28, 2015, 04:47:03 PM »
I started a new project inside unity 5, i imported the mpgk asset into this version of unity. Now when i go to play the game in the editor the tank rotates via A/D keys and left/right arrows. When i press W/S or up/down arrow keys the tank does not move forward. I have checked all the inputs available from the input manager and everything looks like it should be fine, When i open a new project inside unity 4.6 and just import the mpgk asset it works as supposed to.

Other info:
Before changing any inputs i received an error in the console saying RX and RY inputs where not there, I added these and removed these with no success of getting the tank to move forward inside unity 5.

to expand on last bit,

Input Axis RX is not setup.
 To change the input settings use: Edit -> Project Settings -> Input
UnityEngine.Debug:LogWarning(Object, Object)
Tasharen.InputManager:Update() (at Assets/MPGSK/Game/Scripts/Game/InputManager.cs:52)


that is what the error says in the unity console. I do not have a controller attached to my computer nor do i have any drivers or software that is for a controller. hopefully that error info helps solve this problem.

Any help appreciated, thanks

new:

So after some experimenting im seeing that the animation for the tracks is not playing when i press up/down/w/s so im guessing its not recognizing the input from those keys, however its in the input manager script and in the project settings input section as vertical. see attached photo.

« Last Edit: June 28, 2015, 06:11:01 PM by frostamation »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: MpGK tank not moving forward
« Reply #1 on: June 29, 2015, 07:32:06 AM »
Unfortunately Unity 5 completely changed how wheels work, so I imagine the entire logic is quite different there. The tank script was designed for Unity 3 and 4.

frostamation

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: MpGK tank not moving forward
« Reply #2 on: June 29, 2015, 04:57:41 PM »
well crap on a stick, do you think you will update the asset to work in unity 5 or do you know of a fix for the wheel issue or a place where I can find info on how to try and accomplish it myself? thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: MpGK tank not moving forward
« Reply #3 on: July 02, 2015, 09:08:23 PM »
I will indeed have to look into it, although I cannot give an exact time aside from "this month". Unity 5 version of the kit basically needs the wheel part to be completely redone for it to work.