- Home /
How to get y value of a large, tesselated, wave building plane at a specific world position
Hi, i am using a large plane with approx 15000 tris to render an endless ocean. Waves are created via Script, changing the mesh vertices positions. Now i need a way to get the planes current y coordinate at a specific world position for buoyancy. Out of performance reasons i am not able to use either raycasting or an updating mesh collider.
Any ideas on how to get the y coordinate of an arbitrary point on that plane?
Thanks for any help in advance.
Comment