No announcement yet.

Take control over camera using "CameraShake" methods?

  • Filter
  • Time
  • Show
Clear All
new posts

    Take control over camera using "CameraShake" methods?

    I would like to manually rotate the camera based on gameplay such as weapon recoil (Not using camera shake), but i can't simply do:
    because due to how it's setup the camera seems to only listen to ControlRotation every tick, so if i rotate the camera it just snaps back straight after.

    Applying CameraShake works exactly as intended which is great, only problem is that i would like to do what i said above but CameraShake just lerps from one
    rotation to another until it is finished.
    Is there any way i could add my own camera rotation offset using the same implementation as CameraShake since the camera seems to respond to that?

    [PS] I tried to sift through the CameraShake source code but their are so many layers upon layers of code that i couldn't get anywhere.
    Last edited by AndrewM47; 05-22-2017, 12:29 PM.