So, I want to lob a grenade on a nice ballistic parabola from a start-point to an end-point. I’ll instantiate it at the start point, angled 45 degrees up, and give the rigidbody just enough of a push to make it hit the end point.
To do so in the most effective way I need to know the value of gravity, so I can factor it in to the equation. So the question (because I can’t get to a copy of Unity right now) is whether you can query the value of physics.gravity directly.
Does anyone know what happens if you do:
Debug.Log ("Current Value of gravity is " + Physics.gravity);
I expect the result to be a Vector3 along the lines of (0,-1.0,0) but I’d be much obliged if someone could just confirm that!