I have my AI patrolling on terrain. The terrain ground isn’t smooth, which makes the AI falls unrealistic. I use the box collider instead of mesh collider. I reposition my AI using transform.position. My goal is to have it walk around without falling. My AI also has rigidbody component added to prevent it from walking through a wall. How can I make it patrol without falling unrealistic? Thanks for any help in advance
Have you considered using a CharacterController, or at least using a capsule collider in your rigidbody. You could even limit the x and z rotation to keep him upright if you need.
Adding a CharacterController to my AI made him running around like crazy. Replacing a capsule collider with a box collider, now he couldn’t even stand still. I tried locking rotation in rigidbody component too but no luck. Is there any other way to fix this?