Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grabbing a random position on a rope at runtime (obirope 5)
#7
(16-05-2023, 02:09 PM)5G_Zendmast Wrote: Whilst testing the script the Grab() and Release() method work, so that's good! Sonrisa
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.
Reply


Messages In This Thread
RE: Grabbing a random position on a rope at runtime (obirope 5) - by josemendez - 19-05-2023, 10:58 AM