I'm not sure I understand what you're trying to do, so maybe my idea is not
useful.. But if you're trying to detect collision between your cloth (made
up of vertices) and another Pov object, why do you need all this? Wouldn't
it be possible to use the object pattern instead?
1) Include an "object pattern" in the cloth's texture where the object is
the thing you're testing collision with.
2) Run a test over each vertex to see what status the pattern has taken
(inside / outside).. I think this check can be done with function {}.. or..
I just recall having tested pixel values with function.
Just an idea..
Regards,
Hugo
Post a reply to this message
|