Jump to content

Choose the default physics layer for new objects

Recommended Posts

Hi, I have a simple but annoying issue that I haven't found a solution to.

I have disabled physics in the "0: default" layer in case I forget test objects in the scene, so normally, I have to manually set all new ProBuilder objects to a custom "10: World" layer.

I wanted to change the default physics layer of new ProBuilder objects, I thought I would find it in the preferences but I didn't find a GUI option to do that.

Attachment shows which layer option I'm talking about and where I thought the option to set it would be located.

Probuilder question.png

Share this post

Link to post
Share on other sites

Adding a preference for that is a good idea, I'll make a ticket for it.

In the meantime, you can accomplish the same thing with the ProBuilder Editor API. Check out the API Examples folder, and specifically RenameNewObjects.cs or SetCustomUnwrapParams.cs.

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now