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 / Interpolation without Frames

Author
Message
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 31st Jan 2004 04:52
Essentially if I have basically any object at all and want to rotate it from 0 to 90, is there a way I can use something like the "SET OBJECT INTERPOLATION" but on the rotation rather then a frame? So rather then it just skipping the whole distance it smoothly moves to the new rotation over a number of loops?

Is there a command for this or must I do it with Math? I know how to do it with math, I'd basically just do something like:

"RotatePerLoop = TotalRotation / Loops"

And then just rotate the object that much every loop. Obviously not that hard to do but it would be cleaner if there was a command that does it automatically, is there? Thanks.


"Computers are useless they can only give you answers."
bibz1st
21
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 31st Jan 2004 13:31
check the help files for CURVEANGLE(objects destination angle,objects current angle,speed of rotation)
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st Feb 2004 01:19
Excellent, exactly what I was looking for.

Thanks a lot.


"Computers are useless they can only give you answers."
bibz1st
21
Years of Service
User Offline
Joined: 2nd Jan 2003
Location:
Posted: 1st Feb 2004 18:14
no probs

Login to post a reply

Server time is: 2024-11-26 03:54:35
Your offset time is: 2024-11-26 03:54:35