Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. Vector3 modifiedGravity = gravityVector * Quaternion.Euler(SRX, 0, SRZ);
  2. playerRigidbody.AddForce(modifiedGravity * playerRigidbody.mass); // F = ma
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement