x


Make a Good Collider on Blender import?

I made a small room in Blender (nothing fancy, just a hollowed out cube). I didn't want my player (first person) to fall through the ground when I spawned him there, so I put in a mesh collider on the room. The problem is that whenever my player (again, first person) walks up to a wall and then turns anywhere more than 45 degrees, the player can look through the wall. I had this problem before with non-imported cubes in Unity and fixed that by making the box collider larger, but I don't seem to have this option with a mesh collider.

more ▼

asked Sep 23 '11 at 06:18 AM

xSpectrum gravatar image

xSpectrum
90 6 15 26

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

2 answers: sort voted first

You need to make your player's collider bigger- so that the camera doesn't poke through the walls.

more ▼

answered Sep 23 '11 at 08:34 AM

syclamoth gravatar image

syclamoth
15k 7 15 80

I've turned your comment into an answer ;)

Sep 23 '11 at 01:27 PM Bunny83

How do you do this?

Sep 23 '11 at 09:08 PM xSpectrum
(comments are locked)
10|3000 characters needed characters left

You can make your player's collider bigger and prevent him from getting too close to the walls, or you can reduce your camera's Near Clip Plane so it renders the game closer to the camera's origin (default is 0.3).

more ▼

answered Sep 23 '11 at 09:28 PM

Design3.com gravatar image

Design3.com
655 1 1 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:

x1765
x750
x472
x64
x2

asked: Sep 23 '11 at 06:18 AM

Seen: 1169 times

Last Updated: Sep 23 '11 at 09:28 PM