Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[RELEASED] RNDMeshArea - Random positions in or on complex mesh!

Discussion in 'Assets and Asset Store' started by Crizz92, Jun 23, 2016.

  1. Crizz92

    Crizz92

    Joined:
    Sep 17, 2015
    Posts:
    44
    Hi everyone!

    I'm here to present my first tool RNDMeshArea



    The first release has been send for submitting.

    RNDMeshArea :

    RNDMeshArea
    is a simple tool allowing you to get a random position in a Mesh. It works with very complex mesh and can be useful in a lot of situations.

    Very easy to use, this tool just need 2 steps in order to work:

    - Add the layer "RNDMeshArea" in the Layer Manager tab
    - Add the component "RNDMeshArea" on the Mesh.

    RNDMeshArea just need a MeshFilter in order to work, the MeshRenderer will be ignored and disable at runtime ( You can enable it again if you want, but RNDMeshArea modify the triangles by reversing normals for some specifics reasons)

    And you are now done! You just need to get the component on the desired gameobject and call the function "GetRandomPosition(bool shapeOnly)"
    the argument shapeOnly allow you to define if you want the position to be on the shape of the mesh only or in too.

    MultiRNDMeshArea :

    But that's not all! To help you, there is another component called "MultiRNDMeshArea". This one allow you to manage multiple RNDMeshArea at the same time. If you add it on a gameobject, it will search for each children gameobject with a MeshFilter on it and add it a RNDMeshArea component.
    Now you can call the function "GetRandomPosition(bool shapeOnly)" on the component and it will return a random position in or on one of the different mesh found by the MultiRNDMeshArea.






    I hope this tool will help a lot of you! I needed this tool for a personnal project and it helped me a lot!

    Some features will be added in the futures depending of the needs !
     
  2. Crizz92

    Crizz92

    Joined:
    Sep 17, 2015
    Posts:
    44
    Even if you'r not interested, let me know your opinion and which kind of features would be welcome.
    My objective is to give you a useful tool.
    This is my first tool, some advice are welcome!
     
    Last edited: Jun 24, 2016
  3. Crizz92

    Crizz92

    Joined:
    Sep 17, 2015
    Posts:
    44
    The tool has been released! I hope it will help you guys, there are improve to do but i'll work on it with your feedback and some features will come soon. Feel free to contact me if needed.
    Thanks you all.
     
  4. Crizz92

    Crizz92

    Joined:
    Sep 17, 2015
    Posts:
    44
    The package price has been reduced! Now, for 1.08€ symbolic, you'll got it.
    I'm still waiting for feedback and advice.

    Thanks you all!
     
  5. Crizz92

    Crizz92

    Joined:
    Sep 17, 2015
    Posts:
    44
    RNDMeshArea has been sold 10 times since his release. I'm still waiting for some feedback to improve it and add features.

    Thanks you all!