Jump to content

Camera rotational conventions


Recommended Posts

Is it just me or is the rotation sign of the camera are opposite to the physical conventions.

When the camera is rotated to the right/up the camrotation.y/x value is decreasing instead of increasing.

another thing:

Why is the camrotation value not in a cycle (its incrementing consistently) and its signed instead of absolute.



Link to comment
Share on other sites

Yeah, the x and y axis rotations are reversed in LE (compared to natural logic), but you can easily fix it by changing by adding a "-" sign in your C headers in the TurnEntity and RotateEntity functions. There you can also fix the cycle.


Of course everyone has a different opinion how axes should be faced, and I find the idea that righter (x+), higher (y+), deeper (z+) is the most natural way for me.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...