User Guide
ADOBE ATMOSPHERE 281
User Guide
forcedGravitySetting
If ignoreGravityPreference is set to true, the value of forcedGravitySetting determines whether gravity is enabled
// To force gravity to be on,
// independent of the control panel setting:
theActor.ignoreGravityPreference = true;
theActor.forcedGravitySetting = true;
// To force gravity to be off,
// independent of the control panel setting:
theActor.ignoreGravityPreference = true;
theActor.forcedGravitySetting = false;
ignoreGravityPreference
If set true, this overrides the user’s gravity preference and enables gravity based on the value of
forcedGravitySetting
// To use the gravity preference from the control panel:
theActor.ignoreGravityPreference = false;
// To force gravity to be on, independent of the control panel setting:
theActor.ignoreGravityPreference = true;
theActor.forcedGravitySetting = true;
// To force gravity to be off, independent of the control panel setting:
theActor.ignoreGravityPreference = true;
theActor.forcedGravitySetting = false;
keyLeftRightMovesEnabled
A fl ag that determines whether to use the built in navigation scheme for shift+left-arrow or shift right-arrow.
// We wish to prevent such motion
theActor.keyLeftRightMovesEnabled = false;
keyUpDownMovesEnabled
A fl ag that determines whether to use the built in navigation scheme for shift+up-arrow or shift down-arrow.
// We wish to prevent such motion
theActor.keyUpDownMovesEnabled = false;
keyForwardBackwardMovesEnabled
A fl ag that determines whether to use the built in navigation scheme for up-arrow or down-arrow.
// We wish to prevent such motion
theActor.keyUpForwardBackwardMovesEnabled = false;
keyLeftRightTurnsEnabled
A fl ag that determines whether to use the built in navigation scheme for left-arrow or right-arrow.
// We wish to prevent such motion
theActor.keyLeftRightTurnsEnabled = false;










