Collision Problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Ace
Posts: 18
Joined: Mon Mar 15, 2004 4:47 am
Location: Louisiana
Contact:

Collision Problem

Post 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.
Draco
Posts: 14
Joined: Sat Mar 13, 2004 8:55 pm

Post 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
Domarius
Posts: 178
Joined: Thu Mar 11, 2004 9:51 am
Location: Brisbane, QLD, Australia

Post 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.
pex
Posts: 16
Joined: Sun Mar 28, 2004 11:51 am

Post 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! :) )
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

Post 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.
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Post Reply