x


1st person controller going through walls

I'm trying to get this maze going, I copied from the FPS tutorial the 1st person controller (I think) I finally got the 'player' to not fall through the floor, but he's going right through the walls. I have this working in other scenes with different geometry.

Unity file, requires 'standard assets' http://terrymorgan.net/maze_unity3d.zip 1mb

shot of FP controller http://terrymorgan.net/images/first_person_controller.jpg

more ▼

asked Oct 05 '10 at 06:46 PM

hike1 gravatar image

hike1
2 3 3 3

How did you get it to not fall through the floor?

Oct 16 '10 at 07:06 PM John 16
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

Here's the tutorial and blend file http://terrymorgan.net/make_maze_blender.zip 1.1MB

more ▼

answered Oct 05 '10 at 07:19 PM

hike1 gravatar image

hike1
2 3 3 3

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

I have the wall problem solved, I made a new project, reimported standard assets, the 1st person controller I must have trashed and saved over the original. To keep from going through the floor you have to check 'mesh collision' in the mesh area or the fbx import tab. Just a note, Logitech Marble Mouse will hose Unity, you'll be moving backwards at all times.

more ▼

answered Oct 17 '10 at 11:49 AM

hike1 gravatar image

hike1
2 3 3 3

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

You need a collider on the FP controller.

more ▼

answered Apr 08 '12 at 12:20 AM

salad__fingers gravatar image

salad__fingers
27 4 7 11

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

x75
x61

asked: Oct 05 '10 at 06:46 PM

Seen: 1507 times

Last Updated: Apr 08 '12 at 12:20 AM