Jump to content

Disable Physics per object


ragingclaw
 Share

Recommended Posts

Hey there party people. I have 5 meshes that are using physics (cloth like sims). I am wondering if there is a way to disable or pause the physics if the mesh does not meet specific criteria at a given point. So it would be possible to turn physics on or off depending on some condition. Simple test, can you have a button that enables and disables physics on a per object basis? Lets say, mesh A is within x distance of the camera, so it can be on, but meshes b-e should be off. If mesh A leaves x distance, it turns off. If mesh B becomes within x distance, it turns on. Make sense? @RaananW you have experience here, what are your thoughts?

Link to comment
Share on other sites

Originally they were initialized to work like that. The problem was, and still is that when not zoomed in they can still be viewed. We had this discussion a while back ☺

Try also to reduce the quality of the cloth. This is an exponential factor. Will help performance, especially on mobile. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...