Thanks Phil i have never really been big on making arena's, but i took a shot at it and i really am getting quite good at it. Most of which is thanks to this thread. Thanks again Mad and Phil.
#1 Where is your box (and cameras) located? This is "TM_ROW3 X Y Z"(the 4th row). Here:The 3 verticalColumns are the Arena’s X,Y,Z coordinates:X Y Z of Arena.--------------------*TM_ROW0 1 0 0*TM_ROW1 0 1 0*TM_ROW2 0 0 1-------------------------- The first 3 (0-2) horizontal Rows are the Robot/Object’s X,Y,Z coordinates:X Y Z of Arena.Robot’s XDirection:YZ*TM_ROW0 1 0 0*TM_ROW1 0 1 0*TM_ROW2 0 0 1 These3 rows determines the ‘direction’ of each of the bot’s 3 X,Y,Z axes,in reference to thearena’s 3 X,Y,Z coordinates. In other terms these determine the bot’s/object’sPitch, Yaw, and Roll,withinthe arena.It tells each axis where to point within the arena at the start of the game; like the cam angles in the bot pythons. (Notice that the 2nd row (the bots ‘Y’ or vertical axis) is usually left with no x or z bias/tilt, but only 1 in the Arena’s Y axis (180degrees- ‘upright’). These numbers have an effect on one another and are therefore ‘very picky’. I’ve got some ‘templates’ for directing bots/objects in arenas (esp. starting points for bots), so that you can start them facing square with the arena with backs against walls), or face them with backs toward each corner (diagonally).The 4th horizontal Row only determines the ‘location’ of the bot within the Arena’s X,Y,Z.X Y Z of Arena.Robot’s XDirection:YZLocation*TM_ROW0 1 0 0*TM_ROW1 0 1 0*TM_ROW2 0 0 1--------*TM_ROW3 5 3 12 #2. Here's what I have of the latest from Serge's stuff (includes a 3D viewer:-D): GMF_Serge #3. The Bot's heading and starting positions are dictated by 'startpoint', which complete section is below(example only: don't copy and use, formatting may not be in tact):Code: [Select] *GMID_ATTACHMENTPT { *NODE_NAME Point01 *NODE_TM { *NODE_NAME Point01 [COLOR=seagreen] *TM_ROW0 -0.707107 0.000000 -0.707107[/COLOR][COLOR=seagreen] *TM_ROW1 0.000000 1.000000 0.000000[/COLOR][COLOR=seagreen] *TM_ROW2 0.707107 0.000000 -0.707107[/COLOR] [COLOR=blue]*TM_ROW3 6 0.3 6[/COLOR] } USER DATA type = [B][COLOR=black]startpoint[/COLOR][/B]id = 1 } Hope this helps, Phil. Gottta get back to work... .
*GMID_ATTACHMENTPT { *NODE_NAME Point01 *NODE_TM { *NODE_NAME Point01 [COLOR=seagreen] *TM_ROW0 -0.707107 0.000000 -0.707107[/COLOR][COLOR=seagreen] *TM_ROW1 0.000000 1.000000 0.000000[/COLOR][COLOR=seagreen] *TM_ROW2 0.707107 0.000000 -0.707107[/COLOR] [COLOR=blue]*TM_ROW3 6 0.3 6[/COLOR] } USER DATA type = [B][COLOR=black]startpoint[/COLOR][/B]id = 1 }
...Oh, and please, please, please use my compiler and decompiler. They'll give you much more detailed error messages. They'll not be bastards and crash on you. They don't bite. They allow you to compile/decompile wheels, the flextop arena, the car steering, and whatnot. http://code.google.com/p/gmftoolkit
ALERT- Another WS coming up...
I'm fine with hugging reier