How to detect shape in shape

Avatar
  • updated
  • Answered

HI, i would like to know if there is way to detect shape in shapes, for exemple if there is a cube inside a cone, i would like it to be detected?

Image 671

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
Avatar
hugo lammens
Quote from Freya Holmér

Shapes doesn't have intersection testing/raycast/collision support, as it's a rendering only library. you'd have to implement this yourself, or use unity's colliders

Ok thanks

Avatar
Freya Holmér creator
  • Answered

Shapes doesn't have intersection testing/raycast/collision support, as it's a rendering only library. you'd have to implement this yourself, or use unity's colliders