Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unity Collider Position - Raycast Spherecast
#3
(01-05-2020, 02:41 PM)josemendez Wrote: Obi is not made using Unity's physics engine, so particles aren't part of Unity's physics engine (if they were, we would inherit all performance and stability problems of the built-in engine). Using raycasting/spherecasting won't detect them, as casting only works with the built-in Unity physics objects.

Particles use their own collision detection system, here's how you can get all to contacts in a frame and  detect Unity objects colliding against particles (trigger colliders work too):

http://obi.virtualmethodstudio.com/tutor...sions.html

I just added Unity colliders to rope and job done!
Gran sonrisa
The developer of Area 86 
https://simdevs.com
Reply


Messages In This Thread
RE: Unity Collider Position - Raycast Spherecast - by Kristaps - 01-05-2020, 04:11 PM