draw3dline and collision detection

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
empirepro
Posts: 71
Joined: Thu Dec 27, 2007 5:41 am

draw3dline and collision detection

Post by empirepro »

I am using Draw3dline for my lasers. is it possible to have collision detection with draw3dline so if it hits a target it would detect the collision and trigger the animation or particle system for an explosion?
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Example 07. Collision demonstrates a couple of ways of doing ray collisions. ISceneCollisionManager provides others.
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