Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Rope cutting with collision
#2
Hi!

If your ropes are using surface collisions (I'd be inclined to think they do, since they seem copied from the "RopeCutting" sample scene and the ropes in that scene use surface collisions), then you can't assume each simplex is made out of a single particle like you do here:


Code:
// get the particle index:
var particleIndex = solver.simplices[contact.bodyA];

This will lead to incorrect results.

The manual explains how to retrieve all particles in each simplex in the general case. See "Retrieving the particle involved in a contact":
http://obi.virtualmethodstudio.com/manua...sions.html

let me know if you need further help,

kind regards
Reply


Messages In This Thread
Rope cutting with collision - by spikebor - 31-07-2023, 09:11 AM
RE: Rope cutting with collision - by josemendez - 31-07-2023, 11:05 AM
RE: Rope cutting with collision - by spikebor - 31-07-2023, 04:24 PM