x


Total noob - need help with gravity and colissions

Ok, so, I'm new to unity - came straight from GameMaker <-- crappy 3D - and i need help figuring out how to get my character to collide with the terrain (so that he doesn't keep falling out of the world). The tutorials have been pretty much useless with this because if your not using the same project, it makes no sense. My character is sort of in .Obj format (he's really a bunch of polygons in grouping so that he can be animated) but he IS one unified object. Also, I can't seem to get any sort of keybord input (what ever little experiments I've done in rudimentary code with ASCII keys doesn't work)

Any and all help is appreciated

more ▼

asked May 12 '12 at 07:13 PM

Rushlight gravatar image

Rushlight
0 1 1

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

1 answer: sort voted first

Have a look at the scripting reference and the manual. For collisions you need a collider on the object, for input search the scripting reference. It's all in there.

more ▼

answered May 12 '12 at 07:15 PM

Piflik gravatar image

Piflik
5.4k 15 26 44

(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:

x2482
x531
x458
x194
x110

asked: May 12 '12 at 07:13 PM

Seen: 418 times

Last Updated: May 12 '12 at 07:15 PM