Can't compile camera shakes in 5.1

Hi, I have MatineeCameraShake’s in my project and when trying to port my projects to 5.1 I get an error.
1>Z:\Unreal\Tribesmen 5.0\Source\Tribesmen\TMCamShake.h(12): error : Unable to find parent class type for 'UTMCamShake' named 'UMatineeCameraShake'

Thinking maybe support for MatineeCameraShake has been killed of since it’s legacy, I tried converting it to be a child of CameraShake, but it still cannot find the ‘UCameraShake’ either? I’ve included #include “Camera/CameraShake.h”.

Any suggestions?

UMatineeCameraShake has been renamed to ULegacyCameraShake. So the new include is #include "LegacyCameraShake.h". I’m pretty sure you are getting compile warnings about this.

Quick tip: If you press Ctrl+Shift+T in Visual Studio you can find files in the engine source. You can also find types and symbols. It is very handy, though I recommend getting Visual Assist if you can.

2 Likes

That did it! Thanks!

Do they have a new camera shake system now?