ActionMaps again
by Adam · in Torque Game Engine · 09/15/2006 (9:50 am) · 0 replies
Have any of you created a game using Torque where you can run in first person view and jump into a car and drive it as well? I have my vehicle implemented, and the player can mount it fine, but I can't unmount the vehicle. I also cannot jump at all before entering the vehicle for some reason. I am trying to figure out the best way to use keyboard bindings. I thought about creating two ActionMaps that can be pushed and popped when the player enters and exits the car, but I'm not sure if that is the best method. The problem I see with this method is that the ActionMap would have to be pushed and popped on the server side not the client side, which may lead to some problems.
Would I change the ActionMap in the mount and unmount function in player.cs?
Thanks in advance
Would I change the ActionMap in the mount and unmount function in player.cs?
Thanks in advance
About the author