Page 1 of 1

Collision Problem

Posted: Mon Apr 05, 2004 9:09 pm
by Ace
I am using Irrilcht through a 2D game creation program called game maker, and it seems to be working wonderful with the engine.

Though, the functions I use are different to the Irrilcht ones in terms of technique, (I just type "mesh = addAnimatedMesh(mesh)" instead of all the C++ stuff. I don't know C++, so Game Maker allows me to learn it's basics and program video games 2D or 3D. --> FYI: Game Maker also allows me to do multiplayer 3D or 2D games as well, and best of all, the program's free!)

Anyhow, I need to know the technique to load a low polygon world (such as a simple cube) and do collisions from it with a simple model. If you give me the commands, I could probably figure them out.

I don't know much about triangle selectors, and how to use them since I can't understand the documentation due to my lack of C++ basics.

So, basically, instead of using an OctTree, I want to use the opposite (A normal triangle selector), something smaller... And I'm not sure how to do it.

Posted: Mon Apr 05, 2004 10:19 pm
by Draco
my advice is learn C++. It wont take very long to learn the basics of it, and it will take you very far. Here is a set of tutorial which are in my opinion very well written and easy to understand. If you need other tutorials, try looking at the C++ page of www.howstuffworks.com or google it.


http://www.cprogramming.com/tutorial.html

Posted: Tue Apr 06, 2004 1:45 am
by Domarius
Game maker sounds interesting :)

But I wouldn't pass up OctTree just because you don't know how to make your program use it. It would be worth finding out how, or just typing it manually, since it's no different than loading a mesh with the AnimatedMesh command, and it contains heaps of optimisations for displaying a complex terrain.

Posted: Thu Apr 08, 2004 4:25 pm
by pex
i know game maker, but it doesnt render 3d and cant read C++.
so i have no idea how you are planning to use gm (game maker) with a C++ engine since you need a DLL for reading and compiling C++.
and anyway i dont think there is a way to compile C++ with game maker....
and game maker dont use classes and pointers.....
so the best advice for you now is to forget about the idea that gm will use 3d/irrlicht..(my advice! :) )

Posted: Thu Apr 08, 2004 5:55 pm
by Wolf Dreamer
Xception made a way to use Game Maker to access many of Irrlicht's functions. He didn't finish putting them all into his .dll though.

http://home.tiscalinet.de/xception/files/GMIrrlicht.zip
That is where you can get the file.

You download the free Game Maker Professor Mark Overmars made here:
http://www.cs.uu.nl/people/markov/gmaker/download.html

It would be great if someone could make it so that every part of Irrlicht could easily be accessed through such a simple and logical interface.

Going through Game Maker though, I got a major speed reduction, so I'm not sure if it'd be of too much use for large games.