blog address: http://findnerd.com/list/view/How-to-Move-Make-Objects-by-Adding-Force-in-Unity/2396/
keywords:
member since: Nov 29, 2015 | Viewed: 37
How to Move Make Objects by Adding Force in Unity
Category: Academics
There are two methods to make object move in unity: 1. By changing its Transform (Position). 2. By adding Force by using AddForce() method. download In this blog I have mentioned, how we can make object move by adding force. Force and Velocity both are component of Physics. So, to make our gameobject come under influence of Physics we must attach a rigid body to it and then we can code it to move by adding force in different direction. Below is the script for your reference. using UnityEngine; using System.Collections; public class BallScript : MonoBehaviour { void Update () { if (Input.GetKey (KeyCode.UpArrow)) {.......... See more at: http://findnerd.com/list/view/How-to-Move-Make-Objects-by-Adding-Force-in-Unity/2396/
{ More Related Blogs }
Academics
https://www.facebook.com/Lipoz...
Jan 29, 2025
Academics
HOME DECOR: LATEST TRENDS & CR...
Sep 28, 2021
Academics
Global SSD Controllers Market ...
Jan 4, 2023
Academics
How a Custom CRM Solution fulf...
Oct 12, 2021
Academics
Bharati Vidyapeeth (Deemed to ...
Sep 16, 2021
Academics
Global Steering Robot Market O...
Jan 4, 2023