3DBox Orientation Issue

This forum is currently in read-only mode.
  • After some extensive work with the 3DBox I have noticed an issue with it's orientation values (yaw, pitch, and roll).

    The problem, quite simply, is that the orientations for the 3D box are not consistently relative. That is to say, they are relative in some situations, and not relative in others, causing inconsistency.

    This diagram will hopefully help you understand what I mean.

    <img src="http://img204.imageshack.us/img204/8978/orientationcx4.jpg">

    The things I notice immediately are:

    • Yaw is acting independently of Pitch and Roll.
    • The relativity between Pitch and Roll seems inconsistent.

    This inconsistency is bound to cause problems whenever someone tries to alter two or all three of the Orientations.

    • Glamthaus

    Edit: Here is the .cap I was using the test this, if it helps any. http://www.fileshack.us/get_file.php?id ... onTest.cap

    Edit: Edited for clarification.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • My apologies, I didn't see the new information about submitting bugs to the 'bug tracker' before making this post.

    Regardless, it is now submitted.

  • After reviewing the above diagram... I realise it doesn't exactly give you a good idea of what I mean.

    So, having said that, I decided to throw together these two exes to show you exactly what the problem is.

    Introduction:

    These two tests highlight the problem with the current 3DBox orientations, and their inconsistent relativity, as detailed in the above post. Due to this, I decided to focus on rotating two orientations, rather that three in the following tests (Two can be a mess as it is, which you will see).

    Test 1:

    For the first test, I decided it would be best to show you what it looks like when it is working correctly. To do this, I have started off with a Pitch of 90, so I can use a Roll to simulate what a Yaw SHOULD be doing.

    http://www.fileshack.us/get_file.php?id ... nTest1.exe

    Note: Ignore the textures, an origin pitch of 90 causes them to be in an incorrect position.

    Test 2:

    This is using Pitch as Pitch, and Yaw as Yaw. You will find when you try to combine a Pitch and a Yaw... well... you'll see.

    http://www.fileshack.us/get_file.php?id ... nTest2.exe

  • I think the 3D box's hot spot is the middle of the back face instead of the middle of the box... this might make some of the rotations a bit weird. I'll see if I can correct it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)