Use dynamic_cast to determine dependent component type and create a concrete instance.
Use dynamic_cast to determine dependent component type and create a concrete instance.

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core