|
Hey guys im designing a Lvl and i have an elevator,but the thing is everytime i get in my elevator and it goes up i fall http://down.My elevator is animated it doesnt have code or anything and it has Colliders. If anyone can help me that would be Super! for now i'll work on something else lol untill then thanks in advance.
(comments are locked)
|
|
(edit: assuming the elevator's colliders are set up correctly) One possible solution would be to raycast from character's head down to elevator floor and place the character at hit.point (offset y as needed to make sure you're not placing character halfway through the floor). Have no idea how to do that, perhaps i'll look up a vid to see how that works.Thanks for your time to try and help me with my newbish problems.
Nov 12 '10 at 02:18 PM
Random User
(comments are locked)
|
|
put a character motor and character controller on your main character- it has built in stuff for staying on platforms. I'm new to this program as well as to making games,but of course you probably figured that out.I use the character controller to move my toon around.But i've never seen the "Character Motor". Is it a script?,if so can you please show me thanks =).
Nov 12 '10 at 02:15 PM
Random User
If you have uunity 3, should be in the standard assets folder, and look in something like ' character scripts' or whatever, it SHould be in there :).
Nov 12 '10 at 10:42 PM
Fishman92
(comments are locked)
|
|
Guys Thank you so much for your help and TY Fishman92 it worked great now i can keep going !! For those of you who have this same problem, this is what you do.. 1- Create a brand new project and tell unity you want the files that come with Unity like the character controller and standard assets and all that good stuff.. 2 - Once you have the new project open and ready to go.Under the project panel in unity you will find a search bar just type in "Character Motor" with out the "" lol. 3- Click on it and it should be a script a really long and painfull script to look at that i hope i understand some day, anyway copy it and open your project were you need it. 4 - Now make a brand new script and paste it all on there save it and attach it to your character or FPS controller and there you go.. Note: If theres an easier way of doing this im sorry im just telling you guys how i did it =) well Thanks to you guys that helped me and GL. kool, glad it worked, tick my answer as correct and vote plz :D
Nov 14 '10 at 09:57 PM
Fishman92
Random User, I did as you directed and now my character is moving insanely slow. I even changed the max forward speed to 300 and he's crawling along. Did you have this issue? I am using the 3rd person character controller as well, not FPS just FYI.
May 20 '11 at 01:57 AM
bwiegele
(comments are locked)
|
