Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Collision detection problom
#2
Hi,

You're subscribed to the wrong event. Should be OnCollision, not OnParticleCollision.

OnParticleCollision returns collisions between particles, while OnCollision returns "regular" collisions (against colliders).

See the manual for details:http://obi.virtualmethodstudio.com/manual/6.3/scriptingcollisions.html
Quote:Contacts can happen between a simplex and a collider, or between two simplices. To request the simplex-collider contact list from the solver, subscribe to its OnCollision event. To retrieve the simplex-simplex contact list, subscribe to its OnParticleCollision event.

kind regards,
Reply


Messages In This Thread
Collision detection problom - by MakeLifeEasier - 24-06-2024, 04:07 AM
RE: Collision detection problom - by josemendez - 24-06-2024, 07:52 AM