summaryrefslogtreecommitdiff
path: root/modules/bullet/bullet_physics_server.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-20 13:24:28 -0300
committerGitHub <noreply@github.com>2018-08-20 13:24:28 -0300
commit1b66b08fdb3adc838810ce79823c70ac391c8a21 (patch)
treec37e3d5a832be67c8133dad2e0649866fcc1a51d /modules/bullet/bullet_physics_server.h
parent75e540ce7259adbe1b1d4b22f2444078953da494 (diff)
parent0010d9c82a89e89fc1bc83e806f59f34f3deb893 (diff)
Merge pull request #20908 from AndreaCatania/kiSlope
Improved move_and_slide function stay on slope
Diffstat (limited to 'modules/bullet/bullet_physics_server.h')
-rw-r--r--modules/bullet/bullet_physics_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/bullet/bullet_physics_server.h b/modules/bullet/bullet_physics_server.h
index 0e858ff311..2ff83bfd7d 100644
--- a/modules/bullet/bullet_physics_server.h
+++ b/modules/bullet/bullet_physics_server.h
@@ -259,6 +259,7 @@ public:
virtual PhysicsDirectBodyState *body_get_direct_state(RID p_body);
virtual bool body_test_motion(RID p_body, const Transform &p_from, const Vector3 &p_motion, bool p_infinite_inertia, MotionResult *r_result = NULL);
+ virtual int body_test_ray_separation(RID p_body, const Transform &p_transform, bool p_infinite_inertia, Vector3 &r_recover_motion, SeparationResult *r_results, int p_result_max, float p_margin = 0.001);
/* SOFT BODY API */