1. Select the object that has the rigid body added, and then add the constant force assembly.
This component can add a constant force or torque force to a rigid body, often used in a single-shot rigid body, such as a simulated rocket launch. The initial speed of this object is not very large, but with the passage of time, the acceleration will be more and more large.
Force: Add forces directly.
Relative force: Add relative forces.
Torque: Add torque force.
Relative Torque: Add relative torque force.
2. Sketch out the use of gravity option for the rigid body, then set the y-axis force to 0.5, when the game is running, the object will still fall.
We can use code to add force to a rigid body.
void Fixedupdate () {if (Input.getmousebuttondown (0)) {rigidbody. Addforce (0,10,0);}}
Add the script to the object. And then run
When clicked, you will see the rigid body rise slowly.
Unity 3d implements just physical strength