Creating Motor with Hinge
In addition to adding transform keys or using puppeteering feature to a kinematic physics object to generate motors as the power for the physics structures you have created in the project, you can also use the Force function provided by the Hinge constraint to achieve the same effect.
-
Apply a prop with base part and rotating part (in this case, the chassis and
the propeller of a wind turbine).
- Set the propeller as a Dynamic rigid body.
-
In the Modify panel >> Physics tab >> Constraint section, click the
Add Constraint button.
The Add Constraint panel displays. -
Drag the Hinge Constraint template onto the motor center of the propeller.
- Make sure the Hinge Constraint is selected.
- Go to the Modify >> Limit section, set the rotation limitation to Free.
-
Go to the
Modify >> Force section.
Activate the Activate box and then adjust the
Velocity value to determine the speed
of the motor.
-
Play back to simulate the result. You may need to adjust the force value
of the Hinge Constraint in order to set the optimized
rotation speed.