How to set up collisions with Fabric Engine?

Hi everyone,

I would like to know how to make Fabric Engine import a Rhino file and set collisions for each imported object... if possible, I would like to have a detailed explanation of how to do it...

Thanks & Regards,

Saeed SH

Comments

  • HelgeHelge Moderator, Fabric Employee Posts: 314 Fabric Employee

    Hey @Saeed AL-Shidhani,

    you will need to use the collision layers options in the Import Dialog. The collision option is a regular expression that you can use to define which layers should retrieve a collision shape. For example ( all examples need to be used without quotes ):

    wall
    Will give collisions to a layer called "wall"

    wall.*
    Will give collisions to all layers that start with "wall"

    wall|wood
    Will give collisions to all layers called "wall" or "wood".

    For a full list of regular expression features please visit http://www.regular-expressions.info/quickstart.html

    To test regular expressions we recommend this page: https://regex101.com/

    Alternatively if you are using your own import pattern canvas graph you can set the collisionEnabled Boolean property on any shape that you would like to receive a collision shape inside of Unreal.

    Let me know if you have any questions!

    Best

    Research Engineer @ Fabric Software

Sign In or Register to comment.