Arc Rotate version of the follow camera. It still follows a Defined mesh but in an Arc Rotate Camera fashion.
Instantiates a new ArcFollowCamera
Define the name of the camera
Define the rotation angle of the camera around the logitudinal axis
Define the rotation angle of the camera around the elevation axis
Define the radius of the camera from its target point
Define the target of the camera
Define the scene the camera belongs to
The longitudinal angle of the camera
The latitudinal angle of the camera
Define the current direction the camera is moving to
Define the current rotation the camera is rotating to
Define the current target of the camera as an object or a position.
Add cconstraint to the camera to prevent it to move freely in all directions and around all axis.
The radius of the camera from its target
Define the current rotation of the camera
Define the current rotation of the camera as a quaternion to prevent Gimbal lock
Define the current speed of the camera
Define the camera target (the messh it should follow)
When set, the up vector of the camera will be updated by the rotation of the camera
Returns the class name of the object. It is mostly used internally for serialization purposes.
Gets the position in front of the camera at a given distance.
The distance from the camera we want the position to be
Return the current target position of the camera. This value is expressed in local space.
the target position
Defines the target the camera should look at.
Defines the new target as a Vector or a mesh
Store current camera state of the camera (fov, position, rotation, etc..)
Generated using TypeDoc