Ask a Question related to Macromedia Director Basics, Design and Development.
-
JB #1
Re: Drag mouse to rotate sprite
i have worked on a button like that for statmedia.com used in their
transparencies button-behavior set.
i can't give you a whole script, but here's a teaser bit of trig..
delv, delh are mouse location relative to center of sprite
note a deltah fudge factor must be included as it crosses 0, and don't
allow deltah to be absolute zero
set rdstpz = 2*pi()/360
set erad = atan(float(delv)/delh)
set rotangle = integer(erad/rdstpz +1) -- + delh fudge
JB Guest
-
Rotate images with Drag Layer?
Is there any code to allow me to rotate the images that I'm using with the Dreamweaver Behavior "Drag Layer". I don't mean rotate as in change... -
drag model to rotate & resetWorld() error
I have created a shockwave file that builds a toroid, and I want to allow the user to rotate the toroid once it's built, and also to build a new one... -
drag model to rotate?
Hi, Extremely new to director.. and shockwave. I have a model I created in 3d Studio max and want to be able to rotate it, zoom in, etc.. any ideas... -
Rotate sprite
I'm looking to create a lever and gauge that interact. For instance, if the lever opens up a valve on a pump, the gauge pressure increases. How do... -
Parent/child problem whit drag to rotate behavior
hi everyone! I ve import a model form Maya whitin director and i would like to put a drag to rotate to my parent model. The problem is that...



Reply With Quote

