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 / animated scaling

Author
Message
Stormbringer
20
Years of Service
User Offline
Joined: 1st Oct 2003
Location:
Posted: 3rd May 2007 03:43
Hello,
Need a little help here. I'm trying to do a simple animated scaling for an object. For example I'm just trying to create a cube that will grow till it hits a max size, then shrink til it hit a min size, and repeat. I've tried using SCALE OBJECT with variables for the x,y,z based off the OBJECT SIZE and adding for each in a DO LOOP.

ex.
make object cube 1,20

do

scale object 1,object size x(1)+(object size x(1)+0.1 ),object size y(1)+( object size y(1)+0.1), object size z(1)+(object size z(1)+0.1)

loop

i want it to gradually change, not jump dramatically according to current state.
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 3rd May 2007 05:12
Here you go.



LB
Stormbringer
20
Years of Service
User Offline
Joined: 1st Oct 2003
Location:
Posted: 3rd May 2007 06:46
thanks much.

Login to post a reply

Server time is: 2024-09-25 21:16:05
Your offset time is: 2024-09-25 21:16:05