Questions tagged [spring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

Turn based game in HTML/JS/CSS - new joiner messes with state of game while animations are still running for other players

I developed a playing cards web app using HTML/JS/CSS. Communication with the server is performed using WebSocket. The server is developed in Java Spring. The game proposes to join one of the many ...
3
votes
1answer
689 views

In Box2D, how do I create an infinitely oscillating spring?

How do I create an ideal spring that can oscillate indefinitely using Box2D? A b2DistanceJoint works almost perfectly, but it eventually slows to a stop, even with ...
3
votes
2answers
378 views

In Box2D, how do I make a flexible pole?

I would like to replicate the behavior of a flexible pole as used for pole vault. Can somebody give me some inspiration how to simulate that with Box2D? Should I connect multiple objects with ...