- Home /
Camera Facing Forward on Android
I am using the Camera Relative Controls prefab under the Standard Assets (Mobile). As expected the left joystick controls movement and the right joystick controls the rotation/jumps. However, looking at the code, CameraRelativeControl.js, it appears that the camera should rotate to the forward direction the capsule is moving via the FaceMovementDirection method. In that method there is a check for forward velocity begin greater than 0.1. This passes after checking in debug mode, so I know the thisTransform.forward = horizontalVelocity.normalized; is being set, but the camera isn't rotating.
Has anyone had success with this prefab on Android?
Thanks!
Jim
Comment