VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
6.3 - Creating a New Controller

To learn how to create a new controller and add it to a simulation object, see the radarWarnRx example.

This example contains code for two separate plug-ins: one for the back-end and one for the Simulation Object Editor. The source code and project files for both of these plugins can be found in ./examples/radarWarnRx.

A sample scenario demonstrating the new behavior is available in ./userData/scenarios/developer_toolkit_examples/radarWarnRx/radarWarnRx.scn. In the scenario, the aircraft tries to move toward Waypoint Alpha. Once it detects the missile launcher, it veers off towards the waypoint named Safe Haven. Upon arrival at Safe Haven, it resumes its original course (toward Waypoint Alpha).

[<< AddingaNewEntityBehaviorCreatinganActuator] [Home] [Writing Components for a Multiresolution Model >>]


Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)