Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Simulate in Editor World

Discussion in 'Physics for ECS' started by Songerk, Mar 16, 2024.

  1. Songerk

    Songerk

    Joined:
    Mar 29, 2021
    Posts:
    48
    How can I simulate Physics Body in editor?
    Is there some system that can initialize all the systems that needed for simulation?
    I am trying to create a copy of editor world and than edit there all the entities, I was able to figure most of it, with the "DefaultWorldInitialization.GetAllSystems(WorldSystemFilterFlags.Default)" but it's creating system for runtime that aren't needed for me.
    and I know about "BuildPhysicsWorld" but it's allowing me to only use raycast and not simulate physics.