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.

Newcomers DBPro Corner / Turn vs Rotate

Author
Message
Jaleho
20
Years of Service
User Offline
Joined: 15th Jan 2004
Location: Olathe, KS - USA
Posted: 2nd Feb 2004 22:50
Can anyone tell me why:

1. Despite being rotated 60 degrees, hitting left or right resets the object's position to 0, then moves?

2. Why I get decimal real numbers despite telling the object to turn *1* whole unit?
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 2nd Feb 2004 23:19
1. What patch are you running. Sounds like an early bug that was fixed in 5 or 5.1. There were a LOT of bugs in rotation commands in old releases. When I press left or right, the angle is not reset.

2. DBPro has a habit of not showing you the rounded values like other languages. The differences are like .0005 out so I would not worry about it too much. There are some rounding functions in the codebase I think.

Boo!
Jaleho
20
Years of Service
User Offline
Joined: 15th Jan 2004
Location: Olathe, KS - USA
Posted: 3rd Feb 2004 00:51
it's classic version 1.12

I read another forum which basically said the wrapangle function was better anyway, so I went back to that

Login to post a reply

Server time is: 2024-09-21 18:03:31
Your offset time is: 2024-09-21 18:03:31