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: 22
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
Best Medical Coding Centers in...
Feb 4, 2023
Academics
Truck & Commercial Auto Insura...
Feb 8, 2025
Academics
Why You Should Update Your Mob...
Mar 9, 2022
Academics
Web Designing training and pl...
Dec 30, 2015
Academics
Yellow Gold 14K Gold Hexagon S...
Sep 27, 2022
Academics
Carpet Cleaning Brooklyn Heigh...
Jan 3, 2022