object to object collisions in 3d game

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
Guest

object to object collisions in 3d game

Post by Guest »

Hi,
I'm making a 3d game.I want to know how will I do object(player) to object(missile) collision using boundingbox technique?

Plz anybody help.

jessica .

:cry:
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post by Spintz »

I would recommend using an external Physics engine, like ODE or Newton ( Newton preferrably if your on Windows ).

However, in Irrlicht, you can use selectors to determine if any objects will collide. Check out the tutorial on collision detection and search the forums a bit, the answers should be there. If you have more questions, ask away.
Kaneda

Post by Kaneda »

please, guest if you find the tutorial or other thing in the forum , please, put the ilnk here what i dont find anything and i am interesting in it , thanks
Guest

intersectsWithBox() Whether it can detect collision

Post by Guest »

Kaneda wrote:please, guest if you find the tutorial or other thing in the forum , please, put the ilnk here what i dont find anything and i am interesting in it , thanks


hi kaneda,
I'm jessica here .I'm not getting anything here.Neither a gud link nor any tutorial.
I come across one function .intersectsWithBox().I tried to run this .But getting problem here.
u plz try it.If it is detecting collision .Plz help me too.
I 'm still trying..
if anybody plz explain me about this function . How thsi works?
Whether it can detect object(player) to object(missile) collision or not.

jessica.
Guest

try this getTransformedBoundingBox().intersectsWithBox()

Post by Guest »

Hi ,
Plz try this one getTransformedBoundingBox().intersectsWithBox()
this is working properly .

jessica :wink:
Guest

Post by Guest »

anyone have examples yet?
WalterWzK

Post by WalterWzK »

Take a look at:

http://www.mercior.com/tut-newton.shtml

The newton physics engine can be found at:
http://www.physicsengine.com/
The 'Newton General Tech 3DGS demo' gives a good idea
of what is possible and its precision
hansmbakker
Posts: 41
Joined: Mon Feb 16, 2004 7:37 pm

Post by hansmbakker »

i'd like to know how to import a mesh as a convex hull with NewtonCreateConvexHull

i don't exactly understand how to get the information about the vertices (i need an array consisting of the vertices and a float containing the amount of the vertices)
Post Reply