Camera jumping for a few milliseconds when getting attacked from enemy ai

Hello,

When Im getting attacked from my Enemy AI, often my camera is just jumping for a few milliseconds, which is pretty confusing.
This is me getting attacked:
image
Then suddenly, this happends for a few milliseconds:


Also this happens for a few milliseconds, when I walk directly behind the enemy:

How can I fix this?

Hey @florian_17.20,

It looks like the camera collision settings are probably to blame here. In your AI character, change their collision type to Custom and set the camera channel to Ignore. This will keep the spring arm from retracting when they occlude the camera; this will often happen and at very close range, so this needs to be avoided.

I hope this information helps, and good luck!

3 Likes