07.12.2012 Views

Adobe Director Basics

Adobe Director Basics

Adobe Director Basics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADOBE DIRECTOR BASICS<br />

3D: Controlling action<br />

Using the 6DOF.dir movie to test custom settings<br />

Now click the Linear Y and Angular Z buttons to test these results.<br />

Drive properties<br />

A D6Joint has 5 different properties that can be used to define how the joint will be driven.<br />

d6joint.axisDrive defines how linear movement along the main zAxis will be driven<br />

d6joint.normalDrive defines how linear movement along the joint's xAxis will be driven<br />

d6joint.binormalDrive defines how linear movement along the joint's yAxis will be driven<br />

d6joint.twistDrive defines how angular movement around the main zAxis will be driven<br />

d6joint.swingDrive defines how angular movement around both the x- and the yAxis will be driven<br />

All of these properties take a value that is a property list with the following structure:<br />

[#driveType: , #stiffness: , #damping: , #forceLimit: ]<br />

You can also use a linear list where the values are arranged in the same order as in the property list above.<br />

driveType<br />

The values for #driveType are as follows:<br />

#position: attempts to move the joint to a given position or orientation.<br />

#velocity: attempts to move the joint at a constant speed in a given direction.<br />

See “Drive” on page 340 for examples and illustrations.<br />

forceLimit<br />

When a driveType of #velocity is used, the value of forceLimit determines how fast the joint will accelerate until<br />

it reaches the required speed. If forceLimit is set to zero, the drive will never move.<br />

Last updated 8/26/2011<br />

347

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!