Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Grab VR
#2
(22-11-2022, 06:22 AM)syunteri Wrote: I have an old question and I have the source code,
http://obi.virtualmethodstudio.com/forum...-2422.html

An error occurs with the latest version of obi Cloth (Obi6.5).
I think this error location is due to the difference in versions (this source is for Obi 5.6)
How should it be described in the latest version (Obi6.5)?

Hi!

See the manual:

http://obi.virtualmethodstudio.com/manua...sions.html

Obi 6.0 introduced simplices and surface collisions, so all particle indices in collision detection have been replaced by body/simplex indices. They get accessed and used slightly differently than direct particle indices.

If your scenes do not make use of surface collision, it's a simple change: just replace contact.particle with solver.simplices[contact.bodyA]; and contact.other with contact.bodyB

kind regards,
Reply


Messages In This Thread
Grab VR - by syunteri - 22-11-2022, 06:22 AM
RE: Grab VR - by josemendez - 22-11-2022, 08:56 AM
RE: Grab VR - by syunteri - 22-11-2022, 09:28 AM
RE: Grab VR - by syunteri - 24-11-2022, 08:37 AM