Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbObjectAngleY( ) Not Absolute?

Author
Message
tparkin
17
Years of Service
User Offline
Joined: 28th Mar 2007
Location:
Posted: 30th Jun 2007 23:35
Hi,

I'm trying to make a custom camera and am using dbNew?Value() functions with my object's Y angle. However, I have noticed that dbObjectAngleY() returns -90 to 90 for the left side of the model and the same for the right side of the model, instead of a 0-360 absolute angle. Because of this, I can't distinguish if the model is rotated to the left or the right.

Is there a function (or some way) to figure out the absolute Y angle of an object?

Thanks in advance.
TGN
17
Years of Service
User Offline
Joined: 18th Dec 2006
Location: USA
Posted: 1st Jul 2007 03:10
You could try dbWrapValue( dbObjectAngleY( ) );

Login to post a reply

Server time is: 2024-10-09 00:24:42
Your offset time is: 2024-10-09 00:24:42