07.12.2012 Views

Adobe Director Basics

Adobe Director Basics

Adobe Director Basics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ADOBE DIRECTOR BASICS<br />

3D: Controlling action<br />

linearDamping removes linear momentum from an object moving through space<br />

AngularDamping<br />

Angular damping has a similar effect as linear damping, except that it affects rotation only. To test, click the Spin Cube<br />

button. Setting a non-zero value for angularDamping will make the rotation of the Cube slow down and eventually<br />

stop. (Altering the value for gravity will not have any effect).<br />

angularDamping removes angular momentum a rotating object<br />

sleepThreshold<br />

When you create a rigidBody, you can choose to make it #dynamic. See “Rigid bodies” on page 307 for more details.<br />

For each dynamic rigidBody, the Physics simulation will check for possible interactions between it and every other<br />

object. The simulation will then update the dynamic rigidBody's position on every frame. In a scene with many<br />

objects, this can lead to a colossal number of calculations on every frame. Too many calculations will adversely affect<br />

performance.<br />

At any given time, many dynamic objects may not be moving. They may be struck by another moving object, but they<br />

will not themselves strike any non-moving objects. You can instruct the Physics simulation to consider that these<br />

objects are sleeping.<br />

Last updated 8/26/2011<br />

304

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

Saved successfully!

Ooh no, something went wrong!