User Tools

Site Tools


4rpl:commands:rplcamtweenlookat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
4rpl:commands:rplcamtweenlookat [2023/08/23 15:49] – Provided advanced example Vertu4rpl:commands:rplcamtweenlookat [2024/07/04 02:03] (current) – [Examples] Improved advanced example Vertu
Line 13: Line 13:
 </code> </code>
 <code 4rpl> <code 4rpl>
-GetCameraPosition ->cameraPos +RPLCamCopyPosAndRot #So when RPLCam is activated, we say the current camera is how the RPL cam should start as.
-GetCameraRotation ->cameraRot +
 SetRPLCam(true) SetRPLCam(true)
-SetRPLCamPosition(<-cameraPos) #So the camera isn't sitting at 0,0,0. +RPLCamTweenLookAt(V3(40 20 30) V3(40 0 60) 5.0) #Have the RPLCam move to this position and look downwards, facing North.
-SetRPLCamRotation(<-cameraRot) #So the camera isn't oriented as 0,0,0. +
- +
-RPLCamTweenLookAt(V3(40 20 30) V3(40 0 60) 5.0)+
 </code> </code>
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
4rpl/commands/rplcamtweenlookat.txt · Last modified: 2024/07/04 02:03 by Vertu