Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Add vector and script when hit collider.
#4
(14-03-2019, 11:29 AM)Richard Wrote: The page is written about setting of obi cloth, but do I not have to set up collider the cloth would collide with? Just add obi collider?

Not sure I understand your question. Adding a ObiCollider component to any existing collider allows it to interact with Obi actors. That's it, you don't need any additional set up. See: http://obi.virtualmethodstudio.com/tutor...sions.html

Then, if you need to detect which solver particles have collided with a collider, you subscribe to the solver's OnCollision event (as described i the link I provided).
Reply


Messages In This Thread
RE: Add vector and script when hit collider. - by josemendez - 14-03-2019, 12:52 PM