Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How can I detect my second actor in a solver?
#2
Hi,

Your code won’t work if any actor in the solver uses surface collisions. The reason is it assumes every simplex consists of a single particle, which may not be true in the general case. For instance, if all ropes in the solver use surface collisions, all simplices are tuples of 2 particles so your code will likely access indices belonging to the first rope only.

See the manual for example code snippets that show you how to access both actors involved in a contact:
https://obi.virtualmethodstudio.com/manu...sions.html

let me know if you need further help,

Kind regards
Reply


Messages In This Thread
RE: How can I detect my second actor in a solver? - by josemendez - 27-03-2025, 09:11 PM