Friday 27 November 2015

How to create custom video camera



There are two methods to make object move in unity:
  1. By changing its Transform (Position).
  2. By adding Force by using AddForce() method.
In this blog I have mentioned, how we can make object move by adding force.
Force and Velocity both are component of Physics.
Below is the script for your reference.
using UnityEngine;
  
 
using
 System.Collections;  
 
public class
 BallScript : MonoBehaviour   
 
{      
 
void Update () 
 
.........
To view the full code about How to move make objects by adding force in unity visit FindNerd.
Being an effective forum, here you can also post & look for various programming queries along with their solutions including c, android, php, java questions and answers etc.

No comments:

Post a Comment