Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Grab VR
#1
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)?


Attached Files Thumbnail(s)
       
Reply
#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
#3
I see. Thank you very much.
Reply
#4
I made it! thank you


Attached Files Thumbnail(s)
           
Reply