Guest User

Untitled

a guest
Nov 26th, 2019
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. public void SetSteeringInput(float axisRaw)
  2. {
  3. steeringInput = axisRaw * forwardScalar;
  4.  
  5. if (OnDirectionApplied != null)
  6. {
  7. OnDirectionApplied(axisRaw * forwardScalar);
  8. }
  9. }
  10.  
  11. public void SetTwistInput(float axisRaw)
  12. {
  13. twistInput = axisRaw * forwardScalar;
  14. }
  15.  
  16. public void SetPushingInput(float axisRaw)
  17. {
  18. pushingInput = axisRaw;
  19. }
  20.  
  21. public void SetBalanceInput(float horizRaw, float vertRaw)
  22. {
  23. balanceInput.x = horizRaw;
  24. balanceInput.y = vertRaw;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment