User Tools

Site Tools


4rpl:commands:rplcamtweenlookat

Index

RPLCamTweenLookAt

RPLCamTweenLookAt(<-pos <-lookatPos <-time)

Description

Causes the camera, in rpl mode, to move to pos and lookat the lookatPos (both vector3s) over the specified time in seconds.

Examples

RPLCamTweenLookAt(V3(40 20 30) V3(40 0 60) 0.6)
GetCameraPosition ->cameraPos
GetCameraRotation ->cameraRot
 
SetRPLCam(true)
SetRPLCamPosition(<-cameraPos) #So the camera isn't sitting at 0,0,0.
SetRPLCamRotation(<-cameraRot) #So the camera isn't oriented as 0,0,0.
 
RPLCamTweenLookAt(V3(40 20 30) V3(40 0 60) 5.0)

Index

4rpl/commands/rplcamtweenlookat.txt · Last modified: 2023/08/23 15:49 by Vertu