opensim-creator icon indicating copy to clipboard operation
opensim-creator copied to clipboard

Add `Point Forces` and `Point Moments` force visualization

Open adamkewley opened this issue 6 months ago • 0 comments

The existing body force visualization already "resolves" point forces to be on bodies. This is what OpenSim::Force and simbody ultimately want.

However, many use-cases involve the user adding point-forces into a model w.r.t. some frame (e.g. an ExternalForce typically works this way). The user's going to find it very confusing when they see their force vector has moved+changed to the body - even if that's ultimately what the engine "sees".

So, as an additional visualization, the UI should also supply a way of viewing the point forces. This isn't exposed by OpenSim's Force class, so OSC will have to specialize (downcast) it for OpenSim::GeometryPath and OpenSim::ExternalForce

adamkewley avatar Aug 02 '24 09:08 adamkewley