05-10-2020, 08:47 AM
(This post was last modified: 05-10-2020, 08:49 AM by josemendez.)
Hi there! see:
http://obi.virtualmethodstudio.com/tutor...sions.html
From ParticleInActor you can get a reference to the actor, as well as the index of the particle in that actor.
http://obi.virtualmethodstudio.com/tutor...sions.html
Quote:You can get a reference to the ObiActor (ObiCloth,ObiRope,ObiEmitter...) involved in any contact by doing:
ObiSolver.ParticleInActor pa = solver.particleToActor[contact.particle];
From ParticleInActor you can get a reference to the actor, as well as the index of the particle in that actor.