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 / yrotate object problem

Author
Message
GOD
21
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: right there
Posted: 16th Jun 2004 19:10 Edited at: 16th Jun 2004 19:12
i am making the base of a 3rd person game, and i am using yrotate angle alonge with the position of the mouse to rotate the object that I am controlling. I would like to have the object turn less than 1 degree, or whatever the unit is, with the yrotate object command. The line I am currently using is this:
However, if I use this:
It wont turn at all. Is there any way around this?
Thanks
Ron Erickson
Moderator
21
Years of Service
User Offline
Joined: 6th Dec 2002
Location: Pittsburgh, PA, USA
Posted: 16th Jun 2004 19:24
Your variable yang is an integer right now. Change all instances of it to yang# and you should be in business.

WOLF

EZrotate!
Tokamak Physics Wrapper!

Login to post a reply

Server time is: 2024-09-22 13:34:32
Your offset time is: 2024-09-22 13:34:32