Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

DynamicBoneChain Compression #228

Open gentlecolts opened 11 months ago

gentlecolts commented 11 months ago

Is your feature request related to a problem? Please describe.

Dynamic bones are currently somewhat limited, compression "squish" would make them significantly more interactive

Describe the solution you'd like

Dynamic bone chain should be enhanced to allow for

Describe alternatives you've considered

With work, one could implement these ingame, but creating custom replacements for dynamicbonechain is not a long-term solution when a native option would offer greater performance

Additional Context

zangooseoo

Dusty-Sprinkles commented 3 months ago

Just adding a note here for anyone who wants to constrain the rotation of dynamic bones you can use a copied bone chain and simulate the physics on it while limiting the output of the weighted chain using this thing cyro made resrec:///U-Cyro/R-2D975AA5CB04582CA0A05BB7F856A7948CC97F39D9DA0A1522D3C91A91620F7D

in my experience it did lead to some jittering (possibly related to #2324 ) but it was somewhat suitable for a patch considering the alternative was nothing (it comes with the bonus of being able to adjust the position of the simulated bone chain too)

ModernBalloonie commented 3 months ago

https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/82356528/3e3b0919-49b9-4f8a-810d-8d55f44d370c

On this topic, A lot of my stuff nowadays is designed for VRC PhysBones. They take advantage of the squish and stuff. This is an example that cannot be replicated in Resonite. I've tried with weird flux contraptions but I just want native squish.

I've tried with buttons and stuff too combined with the Dynamic bones, but buttons are sub-optimal because you can't hit multiple at once, and they aren't a solution compared to native squishy dynamic bones. The buttons work off your TipTouchSource which isn't where the dynamic bone collider is.

shiftyscales commented 2 months ago

Issue #2612 was opened requesting constraints- so I will be editing this issue to focus on the other feature request presented here "compression". It is generally recommended to keep issues / work items separate where possible to minimize the size of any given issue since these are distinct feature requests- even if related to the same component.

Thanks for your understanding. :)