graphics - Unity 5 collider is not working -


i have 2 prefabs (a character , wall), attached capsule player , cube wall. both capsule , player, have collider component. problem character walks through wall. need help, please!

collider defined without rigidbody component called static collider in unity. if so, unity assumes object never move in scene.

on other hand, if object active 1 (moving), need attach rigidbody component in addition collider component.

in case, need attach rigidbody character.

for more info: http://docs.unity3d.com/manual/collidersoverview.html


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -