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

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -