Problem
When making dynamic models you should specify the bounding box properly or you can get various artifacts like incorrect culling (in particular planes disappearing at odd camera angles) and shadow issues (weird rectangles cutting off shadows)
One issue is that the MeshModel node (Also used within DynamicMesh node) sets the bounding boxes of the model within a cache region, which is triggered by the mesh updating.
This will not trigger if you update the bounding box of the mesh.
Request
The model should update its bounding boxes when any child mesh bounding boxes are updated.
Iām not sure of the best way to detect such changesā¦
Workaround
Simple workaround is to add a force pin on the MeshModel cache region, and then the programmer making the dynamic model monitors upstream for changes that would affect the bounding box.
VL.Stride.ForceUpdateMeshModel.vl (25.1 KB)