Please, put it at examples folder and run:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.4.9
Author: A. Percy
Script Function:
Template AutoIt IrllLicht script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
#include <..\IrrlichtPluginUtils.au3>
AutoItSetOption( "TrayIconHide", 1 )
Opt( "WinTitleMatchMode", 3 )
;creating the device
CreateDevice( $EDT_OPENGL, 640, 480, 16, 0, 0, 0 )
;setting window caption
SetWindowCaption( "My first IrrLicht Scene" )
;Add Light
$Light = AddLightSceneNode( 0, 2000, 2000, 0, 1, 1, 1, 10000 )
;Add Camera
$Camera = AddCameraSceneNodeFPS( 0, 100, 200, 1, 0.8 )
SetPosition( $Camera, 50, 25, 50 ) ;setting position
SetTarget( $Camera, 0, 25, 0 ) ;setting target
;Creating scene nodes
$Node = AddSphereSceneNode( 20 )
;Setting position
SetPosition( $Node, -60, 0, 20 )
While IrrRun( )
;BeginScene( bool backBuffer, bool zBuffer, int Alpha, int Red, int Green, int Blue )
BeginScene( true, true, 255, 100, 100, 100 )
;gets collision from Vader
SceneDraw( )
$CollCameraNode = GetSceneNodeFromCameraBB( $Camera )
If $CollCameraNode = $Node Then
ToolTip ( "It's a sphere!" )
EndIf
GuiDraw( )
EndScene( )
sleep( 20 )
ToolTip( "" )
Wend