Collision Detector Tutorial

NameLocation
ExCollisionDetector<Vortex Studio Installation Folder>\tutorials\ExCollisionDetector

This tutorial shows how to create extensions that can be used later in a scene or a mechanism to monitor contacts between an intersection sensor (the object that scans the environment) and a sensor trigger (the object that is scanned)
Contacting info can be seen in the post_step of the sensor.

See Vortex Studio SDK - Customizing Vortex for information about making plugins.

See C++ Tutorial 1: Plugins for a detailed example of making a plugin.

Using the tutorial

  1. Compile the project
  2. From the <Vortex Studio Installation Folder>\tutorials\plugins folder, copy the built ExCollisionDetector.vxp into the Vortex Studio plugins folder (<Vortex Studio Installation Folder>\plugins).
  3. Start the Vortex Editor
  4. find the extensions in the tool box with the name defined by the factory key below
  5. set a collision geometry to each of the field "Collision Geometry" in the trigger and the sensor
  6. to see the result as printed out from CollisionSensor::post_step,  open the log file of the Vortex Editor that can be found under the directory %tmp%