Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

IsKinematic, Static, and Rendering not working nicely together

Discussion in 'Graphics for ECS' started by Abbrew, Jan 1, 2020.

  1. Abbrew

    Abbrew

    Joined:
    Jan 1, 2018
    Posts:
    417
    Making an Entity IsKinematic or Static will cause it to not render properly. For Static, the Entity would not be visible at a distance. For IsKinematic, the Entity would not be visible at all. I need to make the Entity, which is a cube representing an obstacle, unaffected by forces and unmoving. I know there's FreezeRotation and FreezePosition, but I'm not sure if that's efficient - physics calculations could still be taking place despite the Entity not eventually moving. As a side note the Entity has a RigidBody GO since I need it to have a RigidBodyIndex for physics