I am wondering how to get a fps controller to enter a vehicle and hide the fps contoller drive around then get back out.
Any help greatly appreciated
I am wondering how to get a fps controller to enter a vehicle and hide the fps contoller drive around then get back out.
Any help greatly appreciated
Bumb* i need this also!!
Make a car script for the car with an additional variable like this:
var driven : boolean = false;
Destroy the FPS Object when entering and set “driven” of the vehicle to true.
In the Update() or FixedUpdate() function, put this before your code:
function Update()
{
if(!driven)
return;
//your driving code
}
In the driving Code, there must be some part that
Inspired?
Can you show exaclty what you mean.
Beacuse I am new to scripting.
Thanks