4.22

1.7.COM Setting Change - 5/8/19

Added a new center of mass calculation.

Instead of abusing ComNudge which is Epics intended method, I am now directly setting the center of mass of the held object and maintaining it when the objects mass settings change.

This allows it to work correctly when the held object has objects welded onto it or adds new welded objects while held. ComNudge is applied prior to welding and doesn’t work correctly with merged bodies.

Animation below shows an object that is already composed of 3 parts, and then I weld attach multiple cubes on to it and it maintains it correct COM.

Suggest Edit