Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

From Breakable to Unbreakable

Discussion in 'Physics for ECS' started by shotoutgames, Feb 1, 2022.

  1. shotoutgames

    shotoutgames

    Joined:
    Dec 29, 2013
    Posts:
    277
    I have a building set up with several combined meshes that can be knocked down.
    My issue it what settings or code/system if any to make it be knocked down depending on the force of the object striking it. Right now I can knock it down just as easily with the player as a rocket launcher.
    Will it require me to code something instead? Something that is enabled or disabled in the breakable object?
    Not sure either way. (Inspector settings or code)
    I want the player to be able to collide with it but not smash through it.

    I ask here because I am using Dots Physics but actually don't know how regardless of the system.

    Thanks!