
Making use of gravity in Unity is a basic facet of sport growth, because it permits objects to fall and work together with one another realistically. To use gravity, you should utilize the Rigidbody element, which gives bodily properties to things and allows them to answer forces like gravity.
To use gravity to an object, merely add a Rigidbody element to it by the Inspector window. By default, gravity will probably be utilized robotically, pulling the item downward. You’ll be able to modify the power of gravity by altering the Gravity Scale property within the Rigidbody element. A better worth will end in a stronger gravitational pull.