Hi everyone,
I’ve already searched the forum and “googled” the web for this, but I did not find anything helpful.
I want to create a camera that follows the car and align toward it smoothly.
I did some experiments with HoverController, but at a certain angle the camera stops, make me see the side of the car first then the front and then it works again until a certain rotation angle (maybe something related to gimbal lock?).
This is a piece of my current code at enterFrame
cameraController.panAngle = 180 + car.getRigidBody().rotationY;
Does anybody have an example of a working camera for a racing game?
Thanks