I am trying to code a physics game in 2D.
there is a 10 kg weight. the player can apply a force to it (press and pull back for more/less force) and can move the cursor to apply at any angle (from 0 to 90 degrees from the horizon).
So, let's say the player does 45 degrees with a force of 10 Newtons at the 10 kg weight (keeping numbers round and simple)
how to I draw the parabola resulting?
I want the distance to be like in real life (ignoring drag).
how far and how high would the ball go?
====
Im getting different responses online and not sure what is right.
f=ma -> a = F/m -> acceleration = 10N/10kg = 1m/s^2
but then what?
how long does that go on and with 9.8m/s^2 of gravity does the weight even move? what if we change to 100N instead?
thanks for any maths help.
there is a 10 kg weight. the player can apply a force to it (press and pull back for more/less force) and can move the cursor to apply at any angle (from 0 to 90 degrees from the horizon).
So, let's say the player does 45 degrees with a force of 10 Newtons at the 10 kg weight (keeping numbers round and simple)
how to I draw the parabola resulting?
I want the distance to be like in real life (ignoring drag).
how far and how high would the ball go?
====
Im getting different responses online and not sure what is right.
f=ma -> a = F/m -> acceleration = 10N/10kg = 1m/s^2
but then what?
how long does that go on and with 9.8m/s^2 of gravity does the weight even move? what if we change to 100N instead?
thanks for any maths help.