Orientation_Behavior - superclass: ReferenceTarget; super-superclass:MAXWrapper - 14:0 - classID: #(592018700, 1890584360)
Constructor
Orientation_Behavior ... OrientationBehavior ...
Properties
<orientation_behavior>.name String Default: "Orientation"
<Orientation_Behavior>.headingRelative Boolean Default: False
<orientation_behavior>.minheading Float Default: -180.0 Alias: HeadingMin - animatable
The minimum permissible heading. This number should be lower than the Min Heading value. Range=-180 to 180.
<orientation_behavior>.maxheading Float Default: 180.0 -HeadingMax - animatable
The maximum permissible heading. This number should be higher than the Min Heading value. Range=-180 to 180.
<orientation_behavior>.maxHeadingVel Float Default: 180.0 Alias: maxHeadingVelocity - animatable
Specifies how much the delegate's heading can change per frame. This controls angular acceleration and deceleration.
<orientation_behavior>.headingresponse Float Default: 1.0 - animatable
Determines how quickly the heading follows the direction the object is moving in. A value of 1.0 indicates maximum responsiveness, and will point in the direction the delegate is moving while a lower value means that it is less responsive. Range=0 to 1.
<orientation_behavior>.minpitch Float Default: -180.0 Alias: PitchMin - animatable
The minimum number of degrees a delegate can incline or decline. This number should be lower than the Max Pitch value. Range=-180 to 180.
<orientation_behavior>.maxpitch Float Default: 180.0 Alias: PitchMax - animatable
The maximum number of degrees a delegate can incline or decline. This number should be higher than the Min Pitch value. Range=-180 to 180.
<orientation_behavior>.maxpitchVel Float Default: 1.0 Alias: maxPitchVelocity - animatable
Specifies how much the delegate's pitch can change per frame. This controls angular acceleration and deceleration.
<orientation_behavior>.pitchresponse Float Default: 1.0 - animatable
Determines how quickly the pitch follows the direction the object is moving in. A value of 1.0 indicates maximum responsiveness while a lower value means that it is less responsive. Range=0 to 1.
<orientation_behavior>.maxbank Float Default: 30.0 - animatable
The maximum number of degrees the delegate can bank.
<orientation_behavior>.maxbankAccel Float Default: 3.0 Alias: MaxBank_Change - animatable
The maximum number of degrees the delegate's bank angle can change per frame. This controls angular acceleration and deceleration.
<orientation_behavior>.bankPerTurn Float Default: 1.0 - animatable
The number of degrees the delegate will bank as a function of the turn angle at the current frame. For example, if Bank per Turn=1, the delegate will bank one degree for every degree it is turning at a given frame.
If this behavior is active, it controls the orientation of the delegate by allowing the animator to specify limits and responsiveness on the pitch and heading of the object.
The animator can limit the min and max values, the rate, and can also set a 'response' value which controls how quickly the pitch or heading follows the direction the object is moving in. A value of 1.0 means it's responsive, and will point in the direction the delegate is moving (within the limits), while a lower value means that it is less responsive. It also calculates the roll, which is done using the same parameters that the default behavior does.