I need to be able to change the location of the mass and the center of mass of a static mesh during simulation. Essentially I want to mimic dynamically adding a set of constantly changing masses, to different locations on my mesh object, while the game is running.
As far as I understand it direct simulation time modification of 'Center of mass offset" and “Mass scale” is not supported in the current physics implementation, but is there another way of achieving my requirements?
Does Set Center of Mass
no longer work?
Hi,
As @Everynone mentioned, Set Center of Mass
works at runtime and can be used to modify these properties in the body.
There is also Set Mass Scale
.
If you are working in UE 5.4 or UE 5.5, you can use the Chaos Visual Debugger to debug how the changes are applied at runtime