So this week one of my main objectives was making the player feel more immersed when taking damage. To accomplish this i wanted to add damage sound effects and screen shake. Unfortunately cinemachine and the XR rig directly conflict when working on the camera. I couldnt get the player's camera to shake with out it flying out into the stratosphere.
So I got back to tutorials, I eventually realized the true relationship between cinemachine and the unity camera. I couldnt truly have screenshake on the player (it would be evil to do so in a vr game as well, but i still wanted it), but i figured out a compromise. The mech's camera now shakes when damaged. Giving me some of the effect i wanted while probably being better for the player.
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.