How do I implement input and movement with characters that get into vehicles?

Posted by Xkynar on Game Development See other posts from Game Development or by Xkynar
Published on 2013-10-20T03:19:31Z Indexed on 2013/10/20 4:15 UTC
Read the original article Hit count: 191

Filed under:
|
|

I'm making a game similar to GTA2. When the player enters the vehicle, what happens in terms of logic? Does the player becomes the vehicle? Does the vehicle override the player movement?

The main question is how should it look at a vehicle? I want to understand if the player becomes the car or if the player has a "motion state" like "driving, walking, flying" depending on what he is doing in a moment, I know there are tons of ways to implement vehicles in a game.

© Game Development or respective owner

Related posts about architecture

Related posts about logic