Spawned AI drifts up

I changed something in a parent class for enemies and now when they spawn, they slowly drift up on the z axis. I have been playing around with collision and character movement component, but can’t seem to get to the bottom of it. It doesnt matter if the enemy is spawned or placed on the map with care. He just goes up! Any ideas? Thanks in advance!

Hey @BP_SpawnGato!

Go ahead and show us any code you have for the enemy! :slight_smile:

That way we can look for any possible issues, with movement or whatever!

Oh, also, turn on your visibility on the enemy’s capsule collision for debugging, if only the static mesh is moving or if the entire actor is moving up those would be two different problems! :slight_smile:

1 Like

im guessing something (including themselves) is blocking the navmesh causing them to try and climb themselves.

check collision and CanEvenEffectNavigation

1 Like

Okay sorry for the delayed reply. Ill get to work on this tomorrow and post!

1 Like

This is a great idea! Ill give it a shot tomorrow and see what it does! Thanks for the advice! Ill let ya know!

1 Like

Update! I dealt with this the other day, @Auran131’s post made me realize.

Another user had a similar issue, what was happening was their scientist would float when they picked up a beaker. The beaker item had “Player may step up on” checkmarked on the collision settings.

That’s going to be your specific thing to look for! Anything on your character with “Player may step up on” marked true needs to be set to false. :slight_smile:

1 Like

I know i have that checked!!! I have no idea why that never crossed my mind. I will check it out as soon as the power comes back on. Hurricane wiped out the whole town! Ill let you know!!

1 Like