x


Identify and Reference Intersection of Graphics Objects?

I'm wondering if there might be a way to do this readily.

Let's say I have a collection of meshes, as shown, and they intersect one another. Is there a way to "get" the points along the intersections, or reference them somehow?

http://img109.imageshack.us/f/intersections.png/

Any ideas for how to go about this or where to read up would be helpful.

Thanks!

more ▼

asked Feb 23 '11 at 02:30 PM

rule62 gravatar image

rule62
79 15 18 24

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

You could use Bounds.Intersects on a Collider which gives you the world space bounding volume of it and then call the function ClosestPointOnBounds.

(not really an answer, but maybe a starting point)


Edit:

Maybe Collision.contacts is the way to go.

more ▼

answered Feb 23 '11 at 02:40 PM

efge gravatar image

efge
5.1k 5 14 38

Hmmm... maybe I can futz with the way the collision is defined... Thanks for the suggestions.

Feb 23 '11 at 11:47 PM rule62

Bumping this thread, I'm trying to figure a way to do this too. Anyone make any break-thrus?

Oct 07 '11 at 11:38 PM Finjitzu

Just curious; Could I use this to find the contact points between a compound collider rigidbody object and a rigidbody trigger? It seems Collision.contacts cannot be used with Triggers. :(

Jul 11 '12 at 04:00 PM Muuskii
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2087
x491
x28
x25

asked: Feb 23 '11 at 02:30 PM

Seen: 1617 times

Last Updated: Jul 11 '12 at 04:00 PM