Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  1.             //float d = (semiMajor * (1.0f - Mathf.Pow(eccentricity, 2))) / (1.0f + eccentricity * Mathf.Cos(s - omega));
  2.             //Vector2 rot = new Vector2(Mathf.Cos(s), Mathf.Sin(s)) * d;
  3.             //testPosition.position = gravPlanet.position + rot + (new Vector2(transform.position.x, transform.position.y) - CentreOfMass);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement