Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. private Rigidbody rb;
  2. public float upThrust;
  3.  
  4. void FixedUpdate()
  5. {
  6. rb.AddForce(0.0f, upThrust, 0.0f);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement