gta.setCameraLookAtEntity
Jump to navigation
Jump to search
gta.setCameraLookAtEntity
Signature: void gta.setCameraLookAtEntity(Vec3 cameraPosition, Entity entity, bool jumpCut)
Usage: set the camera position, and camera look-at position to the position of an entity
Parameters
- Vec3 cameraPosition The new 3D position for the camera.
- Entity entity The target entity for the camera to look at.
- bool jumpCut Whether to cut (teleport) or interpolate the camera to the new position.
Return
void
On failure: void