Skip to main content

Questions tagged [spring]

Filter by
Sorted by
Tagged with
1 vote
1 answer
227 views

Let's say I have a 1-dimensional spring, and I want to simulate it by applying a force that may vary with time. We can skip friction and dampeners for now. From what I learned many years ago in high ...
Panda Pajama's user avatar
  • 13.5k
0 votes
0 answers
55 views

I'm trying to implement a spring-mass-dampener system but running into some issues. The linear movement gets into equilibrium as it's supposed to, but the object just keeps rotating until the ...
Dóri's user avatar
  • 1
0 votes
1 answer
242 views

I'm using Box2D 2.4.1 and trying to get a spring effect between two bodies. No matter how I change frequency or damping ratio with the Distance Joint, I see no effect.. Here's my setup ...
swee's user avatar
  • 11
2 votes
0 answers
97 views

Suppose we have 2 springs with different values for m and k. The first spring is given an arbitrary dampening value, ...
19172281's user avatar
  • 151
0 votes
0 answers
45 views

I want to replicate this spring effect on the stack of popsicles in the attached video. Can you advise some tips/tutorials/ideas/articles? The main goal is so that it can wobble freely and feel more &...
rerax's user avatar
  • 1
1 vote
1 answer
246 views

I'm trying to recreate this motion, I think most of the motion is based on this formula \begin{eqnarray} x(t) &=& A e^{-\gamma t/2} \cos(\omega t - \phi) \\ y(t) &=& B e^{-\gamma t/2} ...
JSmith's user avatar
  • 123
0 votes
2 answers
168 views

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 ...
Mehdi B's user avatar
3 votes
1 answer
1k views

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 ...
Narek's user avatar
  • 1,337
3 votes
2 answers
543 views

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 ...
Krumelur's user avatar
  • 299