Accurate Shooting (not bounding boxes)

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
gmpiglet
Posts: 6
Joined: Mon Dec 20, 2004 1:20 pm

Accurate Shooting (not bounding boxes)

Post by gmpiglet »

The Collision detection example has a scene node picker, which uses bounding boxes, how would you implement a scene node picker which is more accurate. It would be very poor if I used a bounding box to test what a bullet hit.
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

Handle your models as the map mesh in the collision demo (IIRC you can shoot bullets at the map, which appear just in front of the mesh then?) ? But for more advanced collision detection I would advice you to use a real physics engine like ODE, Newton, Novodex, ...
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
Post Reply