View unanswered posts | View active topics It is currently Wed Sep 22, 2021 1:44 pm



Reply to topic  [ 7 posts ] 
 How to know intersected instances for instance? 
Author Message

Joined: Mon Sep 05, 2011 3:54 pm
Posts: 14
Post How to know intersected instances for instance?
Hello laumaya!
I need to know which instance, on my scene, intersect, for example, GLC_Sphere.
May be GLC_lib have any easy way?


Thank you!


Mon Jan 21, 2013 1:23 pm
Profile
Site Admin

Joined: Sun Jan 03, 2010 4:27 pm
Posts: 390
Post Re: How to know intersected instances for instance?
Hello,
denyok wrote:
need to know which instance, on my scene, intersect, for example, GLC_Sphere.
May be GLC_lib have any easy way?

No, there is no collision engine into GLC_lib. It's just possible to test aligned bounding box collision.

@+


Mon Jan 21, 2013 6:17 pm
Profile

Joined: Mon Sep 05, 2011 3:54 pm
Posts: 14
Post Re: How to know intersected instances for instance?
ок,
Thank you


Tue Jan 22, 2013 6:42 am
Profile

Joined: Mon Sep 17, 2012 11:08 am
Posts: 7
Post Re: How to know intersected instances for instance?
FIY bullet works great with GLC_lib.

Niki


Wed Jan 23, 2013 8:55 am
Profile WWW

Joined: Mon Sep 05, 2011 3:54 pm
Posts: 14
Post Re: How to know intersected instances for instance?
Thanks, Niki!

Can you help me with some simple example GLC&bullet libs together?

Thank you!


Fri Jan 25, 2013 6:22 am
Profile

Joined: Mon Sep 17, 2012 11:08 am
Posts: 7
Post Re: How to know intersected instances for instance?
Hi,

I don't have small example.

My advise is to fill an btTriangleIndexVertexArray with triangle data from GLC_lib and then make btBvhTriangleMeshShape.
bullet has good example of doing collision checks with that.

HTH
Niki


Fri Jan 25, 2013 4:22 pm
Profile WWW

Joined: Mon Sep 05, 2011 3:54 pm
Posts: 14
Post Re: How to know intersected instances for instance?
Thanks for good advice Niki!


Fri Jan 25, 2013 5:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.