1
vote
Why is my spring exploding? And how to fix it?
Your problem: using a Discrete
Feedback Model
What this means is that your future spring's state depends on its current state. The force actively changes depending on what position it is right now.
...
1
vote
How to get spring effect between two bodies
Looking at the Release notes for Box2d 2.4.1, it states:
BREAKING: distance joint 0 stiffness now means the spring is turned off >rather than making the joint rigid.
BREAKING: distance joint ...
1
vote
Accepted
How can I create this springy oscillating motion chasing / orbiting the mouse?
This looks like basic spring physics.
Each frame, you compute an acceleration vector, by taking the offset from your current position to your target position (the other end of the spring), and scaling ...
1
vote
Turn based game in HTML/JS/CSS - new joiner messes with state of game while animations are still running for other players
I would invert the logic from "You are allowed to do anything unless the server told you there is an ongoing animation" to "You are only allowed to do something when the server tells ...
Only top scored, non community-wiki answers of a minimum length are eligible