Detecting whether an object is inside another

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Detecting whether an object is inside another

Postby EvilTwin » Mon Dec 20, 2010 12:12 am

I'm currently coding on a game where you have to steer a ball through various levels and wondered whether there is a possibility to check whether an object is inside another using a callback function. Purpose is to load models in the game which represent float fields (aka air current), lava streams and the likes.

Thanks in advance,
EvilTwin
EvilTwin
 
Posts: 4
Joined: Sat Oct 02, 2010 4:11 pm

Re: Detecting whether an object is inside another

Postby JernejL » Mon Dec 20, 2010 4:32 am

I think trigger volumes could do this, but i can't say much about that as i never used them before.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1587
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Detecting whether an object is inside another

Postby EvilTwin » Tue Dec 21, 2010 1:56 am

Delfi wrote:I think trigger volumes could do this, but i can't say much about that as i never used them before.


Okay, cool... gotta look into that and experiment with it... I guess the callback remains the same as for collision?
EvilTwin
 
Posts: 4
Joined: Sat Oct 02, 2010 4:11 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron