collision with various nodes

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
chwc
Posts: 4
Joined: Tue Dec 23, 2008 2:11 am

collision with various nodes

Post by chwc »

i want to make a collision between ~50 lowpoly nodes, and the camera.
the nodes are static and theres no movement.
what i dont understand is how to agroup the 50 nodes, create the octtree, and add it to the camera
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

there are some solutions:
1st use a physics engine (e.g. Newton)
2nd use a meta triangle selector
3rd batch all meshes to one single mesh (use the BatchingMesh, also included to my irrExtensions) and use a normal triangle selector
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply