x


Detail Mesh doesn't collide.

  • Imported an fbx
  • Added mesh collider to it
  • Created a prefab from it
  • Added it as a detail mesh to my terrain
  • Doesn't collide. The prefab itself collides of course.
more ▼

asked Jan 06 '11 at 11:03 AM

BitMiller gravatar image

BitMiller
197 15 15 24

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

2 answers: sort voted first
more ▼

answered Jun 21 '11 at 09:09 AM

Phifo gravatar image

Phifo
46 2 2 4

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

Add a rigidbody to your GameObject. If that doesn't work correctly try adding a basic box collider around your mesh to see if that works.

If you want your mesh to collide with fast moving objects change the collision detection to continuous dynamic, and if that still doesn't collide correctly try increasing the FixedTimeStemp value in your projects Physics properties.

more ▼

answered Jan 06 '11 at 11:24 AM

Meltdown gravatar image

Meltdown
5.6k 18 25 49

Nope, in the prefab - added a RigidBody component - changed the collider to sphere - removed the RigidBody component and after all changes I applied to the, prefab I removed and readded the detail mesh to the terrain, tested but

still doesn't work. Could it be I'm on Win, not Mac? It's nothing to do with FixedTimeStep or collision detection type, having no collisions at all. And it "should" work without a RigidBody.

Jan 07 '11 at 08:09 AM BitMiller
(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:

x2584
x1521
x1403
x143
x57

asked: Jan 06 '11 at 11:03 AM

Seen: 2031 times

Last Updated: Jun 21 '11 at 09:09 AM