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
Post a Comment