VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Component Overview

Components are the modules of code that implement physical and behavioral models for an object.

Unlike object state and object managers, components can be configured onto an object to change how the objects works. The diagram below is a typical use of components in an object.

componentsOverview.png
Simulation Object Component Architecture

VR-Forces supports three basic types of components - sensors, controllers, and actuators. The component architecture supports any number of sensors, controllers, and actuators in a simulation object. These three types of component are very similar, but a key difference is that in any system, the sensors are all executed (ticked) first, then all controllers are executed, and finally all actuators are executed. This ordering supports a natural flow of information through the component system in a given tick.


Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)