Camera Collision on Rotation

Basicly i have a spring arm and a camera attached (rts camera), i am rotating spring arm by hotkeys, but how can i detect it’s collision with any static body in scene during rotation? (like building for example) “sweep” option doesn’t work for this, so i can’t use sphere collision (only works for moving).


The SpringArm component already has camera colllsion detection built in, see the following parameters:


This should detect collision when reacting to blocking of the Camera channel of the object it collides with. The result is that the SpringArm will adjust its’ length based on the collision. The following video has some good info about the SpringArm component you may find useful: Better Camera Movement in UE4 - FAST - YouTube

I hope this information helps you, good luck :slight_smile: