Capsule rigidbody falls on the floor..

i am creating a custom enemy AI… It is a capsule and has two cubes at its top… it has the rigidbody component, the capsule collider component, and the script. But when the game starts the capsule falls on the floor because of rigibody gravity ( i think ) … and if i uncheck gravity, it goes through the terrain where its high and goes above the terrain where it is low… What should I do??

Thanks :slight_smile:

Sorry, I figured how to do it,… I freezed all of its rotation points and BOOM!!.. it was done :smiley: