![]() |
VR-Forces 4.10 Class Documentation
|
A collection of related DtSimComponents can be organized into a DtComponentSystem (componentSystem.h).
A DtComponentSystem is a class that may contain zero or more sensors, controllers, and actuators, and systems. Within a DtComponentSystem, components and subsystems are ticked the same way as components that belong directly to the DtSimComponentManager. Each DtComponentSystem has a DtSimResourceManager that maintains any resources associated with the system. The DtSimComponentManager has a ‘base’ DtComponentSystem that holds all DtSimComponents and DtComponentSystems for the simulation object.
Systems are used to represent some logical subsystem of a simulation object, such as a weapon or its movement capabilities. To see which systems have been defined for use in VR-Forces, use the Simulation Object Editor, or go to the ./data/simulationModelSets/<model_set>/vrfSim/systems directory to examine the system definition files (.sysdef) directly.
You can create a simulation object without any explicit systems defined by configuring the simulation object with sensors, controllers, and actuators directly. The ‘base’ DtComponentSystem will be created implicitly for the components when the simulation object is created. However, you can create larger, reusable ‘building blocks’ if you organize components into systems.
[<< Components] [Home] [Top of Page] [The Component Manager >>]