- Home /
Entering a car in Unity
I cannot believe nobody is willing to make a simple test scene where a FPS player can get into a car (Gta style) ,there are loads of half finished ,half answered scripts but really can nobody just give us all a simple test scene ? I feel that this is hindering a massive amount of people trying to make their own freeroam type of game in Unity ,so please please can anyone just make a simple scene ?
Sorry, but people aren't going to write your code for you. What you are asking for here is nowhere near as simple as you seem to think.
$$anonymous$$aybe the hinderance this is causing those people is in fact saving the world from their games.
Well ... this is different, for a change - Its actually brightened up my day :)
Answer by Justin Warner · Apr 07, 2011 at 01:16 PM
To solve this problem, for anyone who really wants to do it..
Get in to a modeling and animating program. Make a general layout for most cars. All cars follow this layout...
Now, make the player, also in the modeling program.
Now, animate the player getting in to the car...
So, now, in Unity, when player does to get in to car, get the type of animation of car opening to get in to it, and play it, play the actual car door opening animation, and make sure that it's timed correctly..
This has nothing pretty much to do with Unity. So, how about you make a "mold" for others to use for their cars, and the player animation in a BVH file, so that we can all use this, and as I'm not excellent at either or, I will opt out, because I don't want to give people crappy models/animations. =).
Have fun!
Answer by Patyrn · Apr 07, 2011 at 06:19 PM
Wouldn't this be as simple as moving a second camera that's a child of your car to the exact position of your first person camera, switching it to your main camera, and then moving the second camera till it is in the car? Everything besides that is just an art problem not a coding one.
Answer by mak · Apr 08, 2011 at 01:32 AM
Bullseye OR disable the car script if your the Player or vice versa :) Its kind of obvious now lol I coulldn't believe I asked the question in the first place ,I deserved all the negativity LOL :p
Your answer
Follow this Question
Related Questions
Hello? Newbie here? Help me please. 0 Answers
costimizing characters 1 Answer
Jump. Script. 1 Answer
Jump help! 1 Answer
how do you switch guns from single shot to full auto? 2 Answers