x


Falling Through My Elevator..

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.

more ▼

asked Nov 12 '10 at 03:14 AM

Random User gravatar image

Random User
11 3 3 4

(comments are locked)
10|3000 characters needed characters left

3 answers: sort oldest

(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).

more ▼

answered Nov 12 '10 at 08:19 AM

JTown 1 gravatar image

JTown 1
38 2 2 9

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)
10|3000 characters needed characters left

put a character motor and character controller on your main character- it has built in stuff for staying on platforms.

more ▼

answered Nov 12 '10 at 01:10 PM

Fishman92 gravatar image

Fishman92
2.4k 101 113 128

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)
10|3000 characters needed characters left

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.

more ▼

answered Nov 13 '10 at 01:35 AM

Random User gravatar image

Random User
11 3 3 4

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)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x97
x60
x19

asked: Nov 12 '10 at 03:14 AM

Seen: 1268 times

Last Updated: May 20 '11 at 01:57 AM