21-10-2020, 04:10 PM
When using ObiParticleAttachment as Dynamic constraint, the constraints are set to dirty every frame.
This causes the constraints to be re-created every frame which allocates GC every frame.
A good example of what I mean is in the "Rocker" sample scene. I see 1 KB GC being allocated every frame.
Is there some way to check if the constraint actually changed before it is marked as dirty?
This causes the constraints to be re-created every frame which allocates GC every frame.
A good example of what I mean is in the "Rocker" sample scene. I see 1 KB GC being allocated every frame.
Is there some way to check if the constraint actually changed before it is marked as dirty?