Obi Official Forum
Help Space in obi rope with pins - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help Space in obi rope with pins (/thread-981.html)



Space in obi rope with pins - SamViolin - 16-03-2019

Hello, I try to make wires with connectors on both ends for VR. The user will be able to take connectors in his hands. At first, I wanted to implement using startPrefab and endPrefab, but they are impossible to interact with and move. Then I tried to implement a longer wire using "pin constraint" based on the example in the "Rocker" scene. But during кщзу initialization, there is a space between "obi rope" and GameObjects. 

I tried to fix this problem by changing the "pin constraint" position, but it did not help. Is there any way to fix this problem?


[Image: image.png]

[Image: image.png]

[Image: image.png]


[Image: image.png]
Thank You

Sam Violin.


RE: Space in obi rope with pins - josemendez - 16-03-2019

(16-03-2019, 07:16 AM)SamViolin Wrote: Hello, I try to make wires with connectors on both ends for VR. The user will be able to take connectors in his hands. At first, I wanted to implement using startPrefab and endPrefab, but they are impossible to interact with and move. Then I tried to implement a longer wire using "pin constraint" based on the example in the "Rocker" scene. But during кщзу initialization, there is a space between "obi rope" and GameObjects. 

I tried to fix this problem by changing the "pin constraint" position, but it did not help. Is there any way to fix this problem?


[Image: image.png]

[Image: image.png]

[Image: image.png]


[Image: image.png]
Thank You

Sam Violin.

Hi,

The particle at the end of the rope is colliding with the sphere (add a ObiParticleRenderer component to your rope to clearly see the issue). Simply disable collisions between them by setting the particle phase to the same value as the sphere collider. See:
http://obi.virtualmethodstudio.com/tutorials/collisions.html