Hi All,
Putting together a little miniputt game for use in a full size golf simulator. The sim has a sensor that measures all of the launch conditions of any shot. I want to take the measured ball velocity and translate it into something that I can use with AddForce. Looking around on the net I found:
"One Newton (N) of force is defined as the amount of force needed to accelerate 1 kilogram (kg) of mass at a rate of 1 meter per second squared (m/s2)."
A golf ball is roughly 0.046 kg, therefore if I have a measured ball speed of say 5 mps then:
force = 0.046 * 5.0^2
So then I can add force like so:
AddBodyForce ballBody, Vec3(0, 0, 1.15), 0
Does this sound right?