Collision with monsters

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
sd
Posts: 11
Joined: Wed Feb 27, 2008 4:18 am

Collision with monsters

Post by sd »

Hi there,

I have had a read through the 7. Collision tutorial, but am not working with a Quake level or any particular level for that matter. I am just wanting to detect the collision between the meshes of two 3D objects/meshes that I have displayed. How do I do this? Use a radius or something?

I know the 7. Collision tutorial loads in the faeries, but then the processing done in the game loop:

Code: Select all

if (smgr->getSceneCollisionManager()->getCollisionPoint(line, selector, intersection, tri))
etc, uses the selector object created by the:

Code: Select all

selector = smgr->createOctTreeTriangleSelector(q3levelmesh->getMesh(0), q3node, 128);
which uses a Quake 3 level mesh, which I don't, like I said, have any level mesh at all yet.

Hope someone can help,
SD.
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Re: Collision with monsters

Post by randomMesh »

e.g. http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=26573

Please use the forum search before posting already answered questions.
sd
Posts: 11
Joined: Wed Feb 27, 2008 4:18 am

Thanks for the link

Post by sd »

You can just chill out, cause I did have a good look first :o

SD.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

I think what you meant to say was "Thank you for taking the time to help."
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Post Reply