Creates not colliding with anything besides character controller when made rigid (in AngryBots)

I’m pretty new to Unity so this is hopefully just a simple fix.

Basically I grabbed the createSmall prefab went to component->physics->rigid body and obviously made it rigid. Then I hit the ‘apply’ to make sure all of those prefabs had the rigid properties.

So now they behave rigidly and fall, the problem is they don’t collide with the level geometry, only with the player…

Any ideas why this is?

1 Answer

1

Objects will only collide with each other if:

  • Each object has a collider
  • Each of the colliders is on a layer that collides with all the other layers

Things to check:

  • Do your rigid bodies have colliders attached?
  • What layer is your rigid body’s collider on?
  • Does your level geometry have colliders attached?
  • What layer are you geometry’s colliders on?
  • Go to Edit–>Project Settings–>Physics. Make sure that those layers have each other checked, otherwise they will not collide.

yep it was in a different layer, switched it to 'default' and it worked. Thanks!