19-05-2023, 10:58 AM
(16-05-2023, 02:09 PM)5G_Zendmast Wrote: Whilst testing the script the Grab() and Release() method work, so that's good!
What's not quite working the way I hoped is the location where grabbing occurs.
In the attached screenshots, the script is on the object touching the rope, when I enable Grab() it picks a particle way up instead of where it touches the cable.
I have no idea why it does this, do you perhaps recognize this behavior?
Hi Patrick,
Is your rope using surface collisions? in that case, collision callbacks work with simplices (See "Retrieving the particle involved in a contact": http://obi.virtualmethodstudio.com/manua...sions.html), in this case if you're using the old ObiContactGrabber code in this thread instead of the one included with Obi, it won't work correctly.