Advertisement
DugganSC

Untitled

Jan 18th, 2024
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. internal void GrabLedge(Vector3 grabOffset)
  2. {
  3. // We're going to do our ledge grab
  4. _animator.SetBool("Hanging", true);
  5. // _gravityActive = false;
  6. _characterController.enabled = false;
  7.  
  8. Debug.Break();
  9. Debug.Log(transform.position);
  10. transform.position -= grabOffset;
  11. Debug.Log(transform.position);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement