Spring behavior in jit.phys?

ygreq's icon

Hi everyone,

I remember I made a spring-like behavior in PMPD a few years ago, but I can't find the patch. And, actually, I would prefer to work with native objects.

So any ideas how I can do this using jit.phys objects?

Thank you!
ygr

ygreq's icon

What I mean, for example, is to have 2 objects that have a stable distance between them. Object 1 is fixed. The other (object 2) you have to grab it and stretch the distance between the tho. Once you let object 2 go, it will come to the initial position, bouncing a bit left and right, thus simulating how a spring would move.

matmat's icon
Max Patch
Copy patch and select New From Clipboard in Max.

hi,
something like that :)
or check "phys.6dof.spring.maxpat" /jitter-examples/render/physics

ygreq's icon

;)) WOw!!! I am amazed! I was asking for the spring behavior and you gave me an actual spring!

It's really more than enough in the truest sense. ;))

Thank you so so much!