User Tools

Site Tools


4rpl:commands:rplcamtween

Index

RPLCamTween

RPLCamTween(<-pos <-rot <-time)

Description

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

Examples

RPLCamTween(V3(40 20 30) V3(40 0 0) 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.
 
RPLCamTween(V3(40 20 30) V3(40 0 0) 1.5)

Index

4rpl/commands/rplcamtween.txt · Last modified: 2023/09/27 19:56 by Vertu