Jump to content
Developer Wiki and Function Reference Links ×

Rotating Gears Script


doughd

Recommended Posts

If you're interested in the code that makes this happen, option-double-click (Alt?...don't know windows) 'Rotate' in the palette.

Most of this is about the dialog. The code that makes the animation is towards the end, after the row of =====, starting with BEGIN: {Maine}

'recordH :=' etc is about retrieving the last used setting of the slider. This value is written to the record 'Gear Record' before the second to last 'END' with SetRField(etc).

REPEAT (and so-forth) UNTIL (and so-on) actually makes the animation happen..

If you already know all this, please forgive me for stating the bloody obvious.

Doing the same in 3D might be slightly more complicated. I don't know since I haven't written much that operates on 3D objects.

Charles

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...