I don't know how expensive the raycast is, but I see at least two other ways to get your AGL: vessel.radarAltitude vessel.altitude - vessel.terrainAltitude These two should probably be the same.  Either should be much less expensive than doing the raycast.  The problem I see is that if you have a craft with a lot of lifting surfaces, control surfaces, etc, there will be increased overhead for each raycast. I do understand that using a single value will not be as accurate as f
    • Like
    2