Unity-Technologies / HLODSystem

845 stars 138 forks source link

Convert to local when calculating Bounds. #105

Closed JangkyuSeo closed 2 years ago

JangkyuSeo commented 2 years ago

Purpose of this PR

When calculating Bounds, it must be calculated after converting to Local coordinates. Transformation logic was wrong, which sometimes results in incorrect calculations if the parent has a transform.


Release Notes

Convert to local when calculating Bounds.


Testing status

Manual


Overall Product Risks

Technical Risk: Low

Halo Effect: High - It doesn't support backwards compatibility.


Comments to reviewers