LimitMotor constructor
LimitMotor(
- Vector3 axis, [
- bool fixed = false
An information of limit and motor.
axis
the axis of the motor
fixed
if fixed set a lower limit
Implementation
LimitMotor(this.axis, [this.fixed = false]) {
lowerLimit = fixed?0:1;
}