Timothy Sharp

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Timothy Sharp

  • Rank
    Newbie

Personal Information

  • Interests
    Art
    Design
    Programming
  1. C# Need some help with Unity.

    Not turning left and right
  2. Hello. I need a script for Unity that will make a car wheel turn depending on which directions a car goes. I.E My car wheels do not move when the car moves. I mean, they move, they just do not turn.
  3. Idea for game

    Also, Marcus I have a problem. I got a car WASD turn script, but its all wobbly and all the keys are messed up. I hope your good with java code: //inspector variables var speed:float=5; //speed of the car, tweek as needed based on your scale var turnSpeed:float=180; //turn speed function Update() { //grab the input axes var steer=Input.GetAxis("Horizontal"); var gas=Input.GetAxis("Vertical"); //if they're hittin' the gas... if (gas!=0) { //take the throttle level (with keyboard, generally +1 if up, -1 if down) // and multiply by speed and the timestep to get the distance moved this frame var moveDist=gas*speed*Time.deltaTime; //now the turn amount, similar drill, just turnSpeed instead of speed // we multiply in gas as well, which properly reverses the steering when going // backwards, and scales the turn amount with the speed var turnAngle=steer * turnSpeed * Time.deltaTime * gas; //now apply 'em, starting with the turn transform.rotation.eulerAngles.y+=turnAngle; //and now move forward by moveVect transform.Translate(Vector3.forward*moveDist); } }
  4. Idea for game

  5. Idea for game

    Have any of you made anything with Unity?
  6. Idea for game

    Hi. I am planning to make a tank simulator game. My main program to do this is Unity Pro. Any tips?