Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is not well documented, but the only components that dynamically affect the Physics system at run time are components with the suffix Cmd or Reset. Other components are read once during mode load.

Unfortunately, the physics API for setting models as static/non-static dynamically is not there yet. We would definitely welcome a PR though

Otherwise, another (non-optimal) approach is to create a detachable fixed joint between the world and each model. You can remove/break this joint to make the model "non-static". It's not exactly the same thing, but might do what you want. Once the joint is detached, you can't attach it back again until https://github.com/gazebosim/gz-sim/pull/1687 is merged.