Home Website Youtube GitHub

Mgear spring node in local space?

hi,

often when a character moves fast in space, the spring node solver does its work in world space, resulting in weird dynamics…
any hints how to solve this in local space? (maybe piping something inbetween incoming conections to goal?)

The spring node will work with a position in any coordinate system. When mGear builds spring nodes, it sets up a few decomposeMatrix and multMatrix nodes to convert coordinates from the control’s local space to world space. You could modify that setup to instead convert to the coordinate system from one of your rig’s other controls.

I would suggest only attaching it to a top level world_ctl or local_ctl. It’s easy to lose all the spring effect otherwise.

1 Like