I want to get the direction based on the position of the monster when it attacks the player and the player’s position, and then generate camera shake based on the direction. However, I found that Unreal Engine’s camera shake can only be written individually in the blueprint, and cannot be customized at all. Please help.
Yes, you can. There is UCameraShakeBase. Also, take a look at this document on how to customize camera shake.
Is there a C++ example, in C++ even if you change the value of the variable and then use PlayCameraShake you still call the DefaultObject(Shake is 0)
