Obi Official Forum
Help Rope Jumps attachment when old attachment is destroyed. - 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 Rope Jumps attachment when old attachment is destroyed. (/thread-2702.html)



Rope Jumps attachment when old attachment is destroyed. - Coreyjdidxon - 14-01-2021

Hello!

In our game we have puzzles using prefabs. When a player completes a puzzle it will randomly spawn a new one to replace it. There are 4 puzzles active at once.

Each rope puzzle has 4 ropes, phased correctly per pair so they can collide with each other.

Sometimes while testing, if i got 2 rope puzzles next to each other one wouldnt have any ropes, and the other would have double. 

If i spawn two of this rope puzzle one after another and the player completes the older prefab first, the newer ropes will snap to the old attach points. 

Video provided. https://youtu.be/x7vVf-U0tOA

Any idea on how to fix this? 

Thanks.


RE: Rope Jumps attachment when old attachment is destroyed. - josemendez - 18-01-2021

Hi there,

I would have to take a look at the way you're spawning the prefabs, how are ropes/solvers/updaters/attachments set up, etc. I could not reproduce any strange behavior by simply duplicating rope prefabs in-editor.

I think the fastest route to resolving this would be you sharing the project with me (if at all possible). You can send it to support(at)virtualmethodstudio.com and I'll gladly take a look.