From b31115cdc1c635e0e33f7a1e053dc2d944bcf521 Mon Sep 17 00:00:00 2001 From: Silc Renew Date: Thu, 11 Aug 2022 01:45:36 +0900 Subject: Add collision weight to PhysicsBody for penetrations must be avoided Co-authored-by: Juan Linietsky --- servers/physics_3d/godot_physics_server_3d.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'servers/physics_3d/godot_physics_server_3d.h') diff --git a/servers/physics_3d/godot_physics_server_3d.h b/servers/physics_3d/godot_physics_server_3d.h index 1d57451925..b429f23a0c 100644 --- a/servers/physics_3d/godot_physics_server_3d.h +++ b/servers/physics_3d/godot_physics_server_3d.h @@ -192,6 +192,9 @@ public: virtual void body_set_collision_mask(RID p_body, uint32_t p_mask) override; virtual uint32_t body_get_collision_mask(RID p_body) const override; + virtual void body_set_collision_priority(RID p_body, real_t p_priority) override; + virtual real_t body_get_collision_priority(RID p_body) const override; + virtual void body_set_user_flags(RID p_body, uint32_t p_flags) override; virtual uint32_t body_get_user_flags(RID p_body) const override; -- cgit v1.2.3