16-04-2021, 08:34 AM
(16-04-2021, 08:28 AM)dhon2407 Wrote: Hi, I tried to create a simple rope with hanging object. I works as expect on the test scene, but on my game scene its acting weirdly.
Obi Solver, Obi Rope, OniCollisionWorld are on prefab. On my test scene the prefab is already on the scene hierarchy, but on my main game scene the prefab is instantiated on runtime.
Screencaptures : https://drive.google.com/drive/folders/1...sp=sharing
It's difficult to tell just from the video, but it looks like the rope is attached inside (or overlapping) a collider. This will cause a force-feedback loop, because the rope can't be simultaneously inside (that's what the attachment wants) and outside (that's what the collider wants).
The solution is to disable collision between the collider and the rope, using phases or deactivating the collider. See the last part of:
http://obi.virtualmethodstudio.com/tutor...aints.html