Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class BuggyController : MonoBehaviour {
- Rigidbody body;
- float deadZone = 0.1f;
- public float m_groundedDrag = 3f;
- public float maxVelocity = 50;
- public float hoverForce = 1000;
- public float gravityForce = 1000f;
- public float hoverHeight = 1.5f;
- public GameObject[] hoverPoints;
- public float forwardAcceleration = 8000f;
- public float reverseAcceleration = 4000f;
- float thrust = 0f;
- public float turnStrength = 1000f;
- float turnValue = 0f;
- public ParticleSystem[] dustTrails = new ParticleSystem[2];
- int layerMask;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement