Hey all, I was wondering if someone could point in the right direction. I just need to be able to use a curve editor on a height map so that further away from the center point of the map the height gets lower. I have never used the curve editor so little lost. Thanks ahead of time.
Put this on a script: Code (csharp): public AnimationCurve slopeCurve; Now check the inspector, you'll see a curve there you can edit. To evaluate a point, it'd look something like: Code (csharp): float distfromCenter = Vector3.Distance(point, centerPoint); float curveValue = slopeCurve.Evaluate(distFromCenter / maxDistance);