-
Is there a way to directly change the camera matrix value instead of changing up, target, position? I know there is a function GetCameraMatrix but I can't find SetCameraMatrix. Should I just extract Rz(target), Ry(up), XYZ(position) from the reference matrix and set it by changing up, target, position? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@copark86 Excuse for the super-late resposne, I missed this discussion. |
Beta Was this translation helpful? Give feedback.
@copark86 Excuse for the super-late resposne, I missed this discussion.
raylib
has no mechanism to do that butrlgl
(that is a bit lower level than raylib and can also be used in conjunction with raylib) hasrlSetMatrixModelview()
to set a custom modelview matrix at a desired moment.