Hi all!
Is it possible to enable a motor for a hinge?
If not, is there any workaround?
Basically, I wanna rotate around a joint to simulate an arm. Without a motor every force that I apply looks "external" to the body...
I won’t mind to contribute with a PR, but some guidance would be appreciated.
Apparently, right now useConstraint has only enable or disable available.
Do you think adding support for extra worker’s messages for the missing methods would work?
Hi all! Is it possible to enable a motor for a hinge? If not, is there any workaround?
Basically, I wanna rotate around a joint to simulate an arm. Without a motor every force that I apply looks "external" to the body...
I won’t mind to contribute with a PR, but some guidance would be appreciated. Apparently, right now
useConstraint
has only enable or disable available. Do you think adding support for extra worker’s messages for the missing methods would work?Ref
cannon-es hinge example with motor https://github.com/pmndrs/cannon-es/blob/master/src/constraints/HingeConstraint.ts#L65