I am creating a simple game where a 3D cube is moving (automatically on the platform) and the user can only use the space bar button for the cube to jump. I also needed to make rotations when cube jumps, so I Used “AddActorLocalRotation”. Now everything is working fine, Cube can jump and rotate but the camera (on a spring arm) also rotates with the cube. How can I change it? Is there a way to make the only cube rotates without rotations of the camera? Thanks in advance!
P.S
I tried to change rotation from relative to absolute, but it didn’t really help. After changing while jumping camera just has strange behavior. It can even get under the platform