vsTASKER 7 Tutorial
×
Menu
Index

Suicide Attack

 
Let's open suicide_attack sample.
Select in the main toolbar, then open suicide_attack.db in data/db/samples/osg/suicide_attack
 
Once loaded, your application will looks like below:
In this demo, you have one terrorist car which will follow a Plan made of GoTo routines until it reaches the last ExplodeMe routine.
This routine will detonate the IED component attached to the car.
The explosion will damage the surrounding entities (hummers)
 
Compile and run the demo then select on the map the terrorist car and switch to the OSG windows.
Use the mouse horizontally with left button down to move the camera around it and vertically with the right button down to zoom in and out.
 
The 3D database is a courtesy of TrianGraphics and can be retrieved freely here.