![]() |
VR-Forces 5.0.1 Developer's Guide
|
The Decide to Give Up example demonstrates the following:
The Decide to Give Up example installs a new version of the DtGroundMoveToControllerComponent to give up the task after a certain amount of sim time. This example can be used as a starting point for other type of reasons to give up on a task.
Since this example is loaded as a plugin, it can be used in conjunction with the released VR-Forces application
This example demonstrates how to add 'decide to give' up logic to an existing behavior.
In the Launcher, click the Plug-ins button to bring up the Plug-ins Selection dialog. Enable the plugin.
To view the new behavior:
| DerivedMoveToController | This subclass of DtGroundMoveToControllerComponent gives up on the movement task after a certain amount of simulation time. |