MAXScript Language Reference > 3ds Max Objects > Node : MAXWrapper > Node Subclasses > SpacewarpObject : Node > Spacewarp - Forces >

# Motor, SpacewarpObject

    Motor - superclass: SpacewarpObject; super-superclass:node - classID: #(1661476074, 533023195)

Value > MAXWrapper > Node > SpacewarpObject > Forces > Motor

Constructor

    motor...

Properties

    <Motor>.On_Time Time default: 0f

The frame at which the motor effect begins.

    <Motor>.Off_Time Time default: 30f

The frame at which the motor effect ends.

    <Motor>.Basic_Torque Float default: 1.0 -- animatable

The amount of force exerted by the space warp.

    <Motor>.unitsInteger default: 0

The unit of measure for the basic torque setting:

0- Newton-meters

1- Pound-feet

2- Pound-inches

    <Motor>.Feedback_On Integer default: 0

When on, the force varies depending on the speed of the affected objects relative to the specified Target Speed. When off, the force remains constant, regardless of the speed of the affected objects:

0- Off

1- On

    <Motor>.Reversible Integer default: 0

When on, if the object's speed exceeds the Target Speed setting, the force is reversed:

0- Off

1- On

    <Motor>.Target_Revs Float default: 100.0 -- animatable

The maximum revolutions before the feedback takes effect.

    <Motor>.Revs_Units Integer default: 1

The unit of measure for the target revolutions:

0- RPH

1- RPM

2- RPS

    <Motor>.Control_Gain Float default: 50.0 -- animatable

Specifies how quickly the force adjusts to approaching the target speed. If set to 100%, the correction is immediate. If set lower, a slower and "looser" response occurs.

    <Motor>.Enable_Variation Integer default: 0

Turn on to enable the variations:

0- Off

1- On

    <Motor>.Variation_Period_1 Time default: 0.625f

The time over which the noise variation makes a full cycle.

    <Motor>.Amplitude_1 Float default: 100.0 -- animatable

The strength of the variation (in percent).

    <Motor>.Variation_Phase_1 Float default: 0.0 -- animatable, angle

Offsets the variation pattern.

    <Motor>.Variation_Period_2 Time default: 0.625f

Provides an additional variation pattern to increase the noise.

    <Motor>.Amplitude_2 Float default: 100.0 -- animatable

The strength of the variation of the second wave in (percent).

    <Motor>.Variation_Phase_2 Float default: 0.0 -- animatable, angle

Offsets the variation pattern of the second wave.

    <Motor>.Range_Enable Integer default: 0

When on, limits the range of the effect to a sphere, displayed as a tri-hooped sphere. The effect falls off increasingly as the particles near the boundary of the sphere.

0- Off

1- On

    <Motor>.Range_Value Float default: 1000.0 -- animatable

The radius of the range of the effect, in units.

    <Motor>.Icon_Size Float default: 0.0

The size of the Motor icon. This is for display purposes only, and does not alter the Motor effect.

Associated Methods

    bindSpaceWarp <node> <motor_node>

Associated Binding Modifier

    MotorMod

This modifier is automatically created by the bindSpaceWarp() method, and is not otherwise creatable by MAXScript.

There are no properties associated with this binding modifier.

#### See Also

- Node Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods