06-11-2019, 07:45 PM
(06-11-2019, 06:48 PM)josemendez Wrote: Hi,
You can easily retrieve which actor a particle belongs to. See "Retrieving the actor involved in a contact" in:
http://obi.virtualmethodstudio.com/tutor...sions.html
once you have the ObiActor (which is the base class for ObiCloth,ObiEmitter,ObiRope, etc) you can just do:
Code:if (actor is ObiCloth)
//stuff A
else if (actor is ObiRope)
//stuff B
Again I just didn't observe the tutorials correctly. Thanks!