shapetest
Methods
start_shape_test_los_probe
Asynchronously starts a line-of-sight (raycast) world probe shape test.
Use the handle with 0x3D87450E15D98694 or 0x65287525D951F6BE until it returns 0 or 2.
p8 is a bit mask with bits 1, 2 and/or 4, relating to collider types; 4 should usually be used.
_0x04aa59ca40571c2e
start_expensive_synchronous_shape_test_los_probe
Does the same as 0x7EE9F5D83DD4F90E, except blocking until the shape test completes.
start_shape_test_box
start_shape_test_capsule
start_shape_test_swept_sphere
start_shape_test_mouse_cursor_los_probe
Old name: _START_SHAPE_TEST_SURROUNDING_COORDS
get_shape_test_result
Returns the result of a shape test: 0 if the handle is invalid, 1 if the shape test is still pending, or 2 if the shape test has completed, and the handle should be invalidated.
When used with an asynchronous shape test, this native should be looped until returning 0 or 2, after which the handle is invalidated.
enum eShapeTestStatus { SHAPETEST_STATUS_NONEXISTENT, SHAPETEST_STATUS_RESULTS_NOTREADY, SHAPETEST_STATUS_RESULTS_READY };