Ask a Question related to Macromedia Director 3D, Design and Development.
-
sopphinken #1
rotate object
Is there anyway to rotate an object around another object's pivot?
sopphinken Guest
-
Record simple rotate of object on Z axis
Hi, Using CS4. Is it possible to automatically record an object turning 360 on the Z axis? At the moment, I am turning the object a couple of... -
Make camera zoom and rotate around object
This has been asked before - and not answered. So.. "Is there any easy way to duplicate the sort of camera rotation found in Director's 3D... -
rotate aw3d-object
Hello I have managed to rotate a 3d-object with the left mousebutton with this script: on mousedown me... -
CCW Rotate and 180 rotate in PS CS are not working properly
I have installed the singel version of Photoshop CS on a G4 under Panther and a newly purchased G5 using Panther. When a bitmap file is created (i.e.... -
How do I rotate an object?
I've cut out an object with the Lasso tool and want to paste it into another photo, but I would also like to rotate the object. Not sure how to do... -
openspark #2
Re: rotate object
There are several ways. You can set the other object to be the parent of the
object to rotate. You can use multiply() with the transforms of the pivot
object and the object to rotate. Or you can simply use the following syntax
with the rotate() method:
v3DMember = member("3D Member Name")
vObjectToRotate = v3DMember.model("Rotating Object Name")
vPivotObject = v3DMember.model("Pivot Object Name")
vPosition = vPivotObject.worldPosition
vAxis = randomVector() -- replace with the (unit) vector that defines the
axis of rotation
vAngle = random(360) -- replace with the angle you want to turn
vObjectToRotate.rotate(vPosition, vAxis, vAngle, #world)
openspark Guest
-
Agustín María Rodríguez #3
Re: rotate object
sopphinken wrote:
Take a look at rotate in the dictionary and the optional parameter> Is there anyway to rotate an object around another object's pivot?
relativeTo.
--
Agustín María Rodríguez
[url]www.onwine.com.ar[/url] > Macromedia Director demos & code
Agustín María Rodríguez Guest



Reply With Quote

