3DBox Orientation Issue

New releases and general discussions.

Post » Wed Nov 21, 2007 8:40 am

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.




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.
B
2
S
2
G
5
Posts: 108
Reputation: 1,866

Post » Thu Nov 22, 2007 4:18 am

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.
B
2
S
2
G
5
Posts: 108
Reputation: 1,866

Post » Fri Nov 30, 2007 7:01 am

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
B
2
S
2
G
5
Posts: 108
Reputation: 1,866

Post » Sun Dec 02, 2007 6:25 pm

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.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests