Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. if (Time.deltaTime < 0.15f)
  2. {
  3. if (applyGravity && noClip == false)
  4. moveDirection.y -= gravity * Time.deltaTime;
  5.  
  6. controller.Move(moveDirection * Time.deltaTime);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement