Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  2D rope-rope collision goes through
#1
Hello I'm trying to stack two ropes on top of each other in 2D environment. I enabled both self-collision and surface-collision settings but ropes are still going through each other. What might be the cause of this problem?

Here is a video of the problem I am facing.
https://drive.google.com/file/d/1bma9Twc...sp=sharing

These are the settings I am using.

   

   

   
Reply
#2
(20-06-2021, 01:46 PM)panda Wrote: Hello I'm trying to stack two ropes on top of each other in 2D environment. I enabled both self-collision and surface-collision settings but ropes are still going through each other. What might be the cause of this problem?

Here is a video of the problem I am facing.
https://drive.google.com/file/d/1bma9Twc...sp=sharing

These are the settings I am using.

If you’re using Obi 6.1 or older, make sure the ropes have different phase values as explained in the manual:
http://obi.virtualmethodstudio.com/manua...sions.html

In the latest version(6.2) make sure the collision filters are set up properly:
http://obi.virtualmethodstudio.com/manua...sions.html
Reply
#3
(20-06-2021, 01:46 PM)panda Wrote: Hello I'm trying to stack two ropes on top of each other in 2D environment. I enabled both self-collision and surface-collision settings but ropes are still going through each other. What might be the cause of this problem?

Here is a video of the problem I am facing.
https://drive.google.com/file/d/1bma9Twc...sp=sharing

These are the settings I am using.

If you’re using Obi 6.1 or older, make sure the ropes have different phase values as explained in the manual:
http://obi.virtualmethodstudio.com/manua...sions.html

In the latest version(6.2) make sure the collision filters are set up properly:
http://obi.virtualmethodstudio.com/manua...sions.html
Reply
#4
Sonrisa 
(20-06-2021, 03:28 PM)josemendez Wrote: If you’re using Obi 6.1 or older, make sure the ropes have different phase values as explained in the manual:
http://obi.virtualmethodstudio.com/manua...sions.html

In the latest version(6.2) make sure the collision filters are set up properly:
http://obi.virtualmethodstudio.com/manua...sions.html

Thanks for your quick response

I was changing phase values by using the Edit Path button. It looks like second rope's phase value was overriding the first rope's phase value. Thus, I was ending up with the same values. I guess it's because the ropes share the same blueprint. 

I ended up setting phase values for each rope through script with the SetPhase method and it ended up working perfectly! 

Thanks one again  Gran sonrisa
Reply
#5
(20-06-2021, 04:26 PM)panda Wrote: Thanks for your quick response

I was changing phase values by using the Edit Path button. It looks like second rope's phase value was overriding the first rope's phase value. Thus, I was ending up with the same values. I guess it's because the ropes share the same blueprint. 

I ended up setting phase values for each rope through script with the SetPhase method and it ended up working perfectly! 

Thanks one again  Gran sonrisa

Yep, same blueprint = same phase values. It's like using the same texture for 2 materials: if you edit the texture, all materials using it will look the same.
Note that the collision filtering system in 6.2 is much more flexible compared to phases, and you don't need to use different blueprints to set up inter collisions.

cheers! Sonrisa
Reply
#6
(20-06-2021, 04:31 PM)josemendez Wrote: Yep, same blueprint = same phase values. It's like using the same texture for 2 materials: if you edit the texture, all materials using it will look the same.
Note that the collision filtering system in 6.2 is much more flexible compared to phases, and you don't need to use different blueprints to set up inter collisions.

cheers! Sonrisa

Good to know, I will upgrade to 6.2 in future projects  Sonrisa
Reply