Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

PhysicsVisualizationSettings... At runtime

Discussion in 'Physics' started by Eyap, Aug 8, 2019.

  1. Eyap

    Eyap

    Joined:
    Nov 17, 2017
    Posts:
    40
    Hi !
    I just tried the PhysicsVisualizationSettings, and it's really great. I find all the options i need, and the colliders are well displayed.

    But it is included in the UnityEditor namespace, and not available at runtime. I'd like to have it in a build, (either by setting it via script or setting it beforehand), is there a way to do it ?

    If not, as it is quite a huge necessity for my use case, do you now any other way to display the colliders (mainly Mesh colliders) in runtime ?