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: 20
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
Disinfection Robots: Pioneerin...
Nov 20, 2024
Academics
academics...
Aug 17, 2021
Academics
Short Term Mission Trips...
Aug 17, 2021
Academics
Cloud: Intention Of Storage Bu...
Aug 18, 2021
Academics
Wearable Breast Pumps Market T...
Nov 9, 2022
Academics
Jobsaddress.in...
Aug 18, 2021