I want my player enter on the car and exit, but how?
well, I would probably do it like this:
1 solution: if the player is in range of the car, look when a certain key is pressed and then hide the player model and make the car active. When the car is active and gets the key again, you show the player model again (on a position near the car) and make the player active again
2 solution: would be the same with enter and exit, but not with a distance and with a empty (box - invisible) zone - so that the player can only enter the car infront of a door
hope that helps, if you actually need a script, you should specify in which language you need it…
just wanted to explain the scheme, as I think, it could work
Thanks alonzo
Yes, I need a script because for me is hard to make, and I need help, so, the script I’m using is javascript.
Hey I have made a script to enter and exit a vehicle here is a video for what I have http://www.youtube.com/watch?v=H-BbzlAaskk
Hi boco.
Can you help me with the script?
Can someone give me the script…
fvasc9, avoid trying to make something complicate if your knowledge about programming is basic… try to implement another way to achieve your goal.
Did you watch boco’s video?
Yes I see the video, but I need the script it’s urgent please…
Don’t ask for scripts full up, you wont learn anything. Ask questions, and use the Unity Script reference to figure out how to do it.