Maltus

FreeLance Graphics & Design

These are a sample of some Basic Scripts

  • BrownianMotionSimple
    1. //private var random : float; //oops I was going to simplify the typing but whatever.
    2. function FixedUpdate (){
    3.      transform.Translate(Random.value -0.5 / 5 * Time.fixedDeltaTime / 2 , 0, Random.value-0.5 / 5 * Time.fixedDeltaTime / 2) ;
    4. }
[ error processing directive ]