Multi-Ray Glider (UPBGE 0.3)

Multi-ray glider-experiment.
The more rays the more precision (the more compute cost).
UPBGE_0.3_Multi_Ray_Glider.blend (1.2 MB)

Speed test

1 Like

The above solution scans for face normals and needs quite a few RayCasts to be able to get a nice average normal.

Here is an alternative with only 4 RayCasts that just get 4 hitpoints.
These points define a plane so we can take its normal.
UPBGE_0.3_Multi_Ray_Glider2.blend (1.2 MB)