I have a request from our artists asking if they could exempt some objects under an object with StaticOptimizeEntity. The way they structure the scene is they have one root where they place StaticOptimizeEntity, then they place the other objects under this one. The hierarchy becomes big at some point so they don’t want to mess with the parent child relationships. However, there are cases where they want to add some simple procedural animations to child objects like rotations and looping lerp movements. These wouldn’t work if the object is under a StaticOptimizeEntity. The solution right now is they would take these objects out and put them outside the static root. But this is cumbersome as they have to position these objects by hand without the proper hierarchy like in the static objects. When the static objects are moved, they also have to manually move the non static objects.
I was wondering if there’s a way to make exemptions during baking. Like maybe we could create a component and when this is encountered, I could take it out from the static root and just set its world position and rotation.
Using a ParentConstraint might work but I have yet to ask if it’s too different from what they know.