- #1
Aaorris
- 2
- 0
Hey everyone! I'm a recent high school graduate, and I've been trying to model some simple physics with computer code. What's on my mind right now is modeling applied force using keyboard input. The computer knows if a key is down, or not. Applying force based on that input would mean that your applied force is instantaneous! To remedy this, I imagine 2 solutions:
[thinking out loud]
for damping, F = -cV ?
delta_a = -cV
maybe I've just been thinking too hard. What do you guys think?
[PLAIN]http://popoa.webs.com/appliedForce.jpg
- Sin targeting of velocity
- Damping force
[thinking out loud]
for damping, F = -cV ?
delta_a = -cV
maybe I've just been thinking too hard. What do you guys think?
[PLAIN]http://popoa.webs.com/appliedForce.jpg
Last edited by a moderator: