summaryrefslogtreecommitdiff
path: root/servers/physics_3d/godot_physics_server_3d.h
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-08-11 01:45:36 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2022-08-18 08:10:31 +0900
commitb31115cdc1c635e0e33f7a1e053dc2d944bcf521 (patch)
tree7ccae68b9b7a5888b5215d415827043b16d52699 /servers/physics_3d/godot_physics_server_3d.h
parentdbd15243621ec595742b18abc4c26f3cb2e00f3d (diff)
Add collision weight to PhysicsBody for penetrations must be avoided
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
Diffstat (limited to 'servers/physics_3d/godot_physics_server_3d.h')
-rw-r--r--servers/physics_3d/godot_physics_server_3d.h3
1 files changed, 3 insertions, 0 deletions
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;