User Tools

Site Tools


4rpl:commands:rplcamtweenlookat

This is an old revision of the document!


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.1692820153.txt.gz · Last modified: 2023/08/23 15:49 by Vertu