Driving a car

Locked
Tenken
Posts: 4
Joined: Wed Sep 16, 2009 11:13 pm

Driving a car

Post by Tenken »

Hey everybody,

i've got a new problem. Im trying to spawn an entity that i'd like to make drivable. The problem seems that i dont know how to tag the player in the car. I added a tag on the player's body and one in the driving seat. Is there a way to do this? and how?

thanks!
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Driving a car

Post by ^misantropia^ »

Is the problem attaching the player to the car or having the car move once the player is in/on it? For the latter case, the code in game/g_mover.c should be a good source of inspiration.
Tenken
Posts: 4
Joined: Wed Sep 16, 2009 11:13 pm

Re: Driving a car

Post by Tenken »

attaching the player to the car seems to be the problem. having the car move works fine
Locked