You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/AtomLyIntegration/CommonFeatures/Code/Source/SurfaceData
Mike Balfour c873ddac45
[LYN-3099] Fixed some issues with vegetation planting on surfaces (#1554)
* [LYN-3099] Fix vegetation raycasts to use bounded ray queries instead of FLT_MAX.
Raycasts with a distance of FLT_MAX sometimes overflowed deep in IntersectSegmentTriangleCCW, so it's better to have strict start/end positional queries.  We have specific starts and ends anyways, so it's a safer approach anyways.
This also adds support for Non-Uniform Scale for meshes, since it was clearly not working correctly in vegetation when testing various scaled meshes.

* Addressed PR feedback
5 years ago
..
EditorSurfaceDataMeshComponent.cpp O3DE Copyright Updates for Linux Foundation (#1504) 5 years ago
EditorSurfaceDataMeshComponent.h Update help URLs and remove unneeded links (#1520) 5 years ago
SurfaceDataMeshComponent.cpp [LYN-3099] Fixed some issues with vegetation planting on surfaces (#1554) 5 years ago
SurfaceDataMeshComponent.h [LYN-3099] Fixed some issues with vegetation planting on surfaces (#1554) 5 years ago