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 / Cylinder Not Rotating

Author
Message
Filmmaker Screenwriter
21
Years of Service
User Offline
Joined: 7th Jul 2003
Location:
Posted: 12th Jul 2004 10:35
I'm just kind of messing around with some commands I found in the Examples help. Can someone tell me why my cylinder doesn't appear to be rotating? Or is it rotating, but you can't tell? Thank you.

Member of Bee Hive Studios | freewebs.com/beehivestudios
Currently developing: 3D PacMan (tentative title)
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 12th Jul 2004 10:40 Edited at: 12th Jul 2004 10:42
It is rotating 360 degrees per loop putting it back where it was before the screen draws.
goes from 1 to 360 each loop so the final rotation of your object will be 360 degrees each loop. (just like it was) Also yrotate spins the cylinder so you can't really tell if it is spinning with no texture try this to see it.


SandraD
20
Years of Service
User Offline
Joined: 30th May 2004
Location: Down on the corner, out in the street.
Posted: 12th Jul 2004 10:43
Yeah, lookinto the WRAPVALUE() command and take out the FOR-NEXT.
(Hint)
S.

Any truly great code should be indisguishable from magic.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 12th Jul 2004 10:45
Yes wrapvalue can also be used. I have a bad habit of not trusting those automatic commands.

Login to post a reply

Server time is: 2024-09-22 16:23:43
Your offset time is: 2024-09-22 16:23:43