Intersections

Problems building or running the engine, queries about how to use features etc.
Post Reply
snegovick
Gnoblar
Posts: 7
Joined: Sun Nov 21, 2004 7:59 pm

Intersections

Post by snegovick »

Can you help me with my problem : i have to monitor all the intersections of one object. How can i do it?
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8
Contact:

Post by haffax »

Use a collision library for it OPCODE or ODE/OgreOde are perfect for this. OgreOde comes with many useful examples.

If a simple proxy (a sphere or a axis aligned box) is enough for your purpose you can use an IntersectionQuery, this way you don't need an extern library. Look into the API documentation for details.
team-pantheon programmer
creators of Rastullahs Lockenpracht
snegovick
Gnoblar
Posts: 7
Joined: Sun Nov 21, 2004 7:59 pm

Post by snegovick »

My problem is in controlling only one obj among others
User avatar
stoneCold
OGRE Expert User
OGRE Expert User
Posts: 867
Joined: Fri Oct 01, 2004 9:13 pm
Location: Carinthia, Austria
x 1

Post by stoneCold »

Hi,
I'm not sure, but it sounds like you want to do a player collision object, is this right?

stoneCold
snegovick
Gnoblar
Posts: 7
Joined: Sun Nov 21, 2004 7:59 pm

Post by snegovick »

Yes it sounds correctly
Post Reply