How do you correct rotation on custom modeled creature

I’ve created a custom Tyrannosaurus Rex it animates fine but when i got to test mode it’s rotated front half of it’s body into the ground and and all i see is a tail and glitched out feet sticking out of the ground. Also It cant attack even though it uses the same blueprint as the default Rex. How do you fix both of these. Any help is much appreciated:D

you can apply rotation to import settings and reimport

It’s more of a problem on land. It’s rotation is fine when it’s swimming. I also still need to find out why it cant attack when i’m riding or when it tries to attack my character.

I fixed the attack issue and wow it’s a good fighter but the rotation while walking is still an issue and the rotation also causes and issue with hitting targets when riding it.