This item is deprecated. Do not use it for new work.
This item is not shown in the object browser. It is likely not intended for widespread use. Expect problems and changes.
The RightParamA property is relevant when a part’s
/BasePart/RightSurface is set to Motor or SteppingMotor and
/BasePart/RightSurfaceInput is set to Sin. It determines the amplitude of the motor’s rotational velocity, using the following formula:
MotorVelocity = ParamA * math.sin(workspace.DistributedGameTime * ParamB)
In no other cases is this property used.
This code sample demonstrates how surface properties can be set using only a NormalId (Top, Front, etc). It switches a motor’s -SurfaceInput from NoInput, Constant and Sin to show how each work using -ParamA and -ParamB properties.