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

Cloth with manual physics update

Discussion in 'Physics' started by atf-smathieu, Jun 25, 2020.

  1. atf-smathieu

    atf-smathieu

    Joined:
    Dec 4, 2017
    Posts:
    4
    Hi! In our game, we have an inventory screen which displays characters. They have physics with clothes. It is in a menu screen, so we pause the game by setting the timeScale to 0 and we still simulate physics by creating a scene with its own physics with CreateSceneParameters(LocalPhysicsMode.Physics3D) , then we set Physics.autoSimulation to false and we call PhysicsScene.Simulate(dt). It mostly works, except clothes are not simulated. Is there a way to make them work ?