03-05-2020, 06:53 PM
(This post was last modified: 03-05-2020, 06:53 PM by josemendez.)
Hi there,
In answered to your PM. However, I don't understand what's going on in the video you posted here. I assume you're saving the rope state at some point in time (when the character arrives at the sofa?) and then loading it.
If the copy is done correctly, and the original rope does not intersect walls/furniture, the copy shouldn't either (after all, particle positions are copied from the original rope). Note that if the original rope insterects something, the copy will too.
Obi does not use layer matrix to filter out collisions, as checking the matrix for each collision would be really inefficient when you have several thousands of contacts each frame (and in a particle system, you do). It uses phases instead. Particles/collider with the same phase will ignore each other. If they have different phases, they will collide with each other. See:
http://obi.virtualmethodstudio.com/tutor...sions.html
In answered to your PM. However, I don't understand what's going on in the video you posted here. I assume you're saving the rope state at some point in time (when the character arrives at the sofa?) and then loading it.
If the copy is done correctly, and the original rope does not intersect walls/furniture, the copy shouldn't either (after all, particle positions are copied from the original rope). Note that if the original rope insterects something, the copy will too.
Quote:new rope shouldn't collide so I have made layer matrix settings
Obi does not use layer matrix to filter out collisions, as checking the matrix for each collision would be really inefficient when you have several thousands of contacts each frame (and in a particle system, you do). It uses phases instead. Particles/collider with the same phase will ignore each other. If they have different phases, they will collide with each other. See:
http://obi.virtualmethodstudio.com/tutor...sions.html