You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
made the exclusion of nodes from joints optional, fixes #3015
This commit is contained in:
@@ -45,6 +45,7 @@ class Joint : public Spatial {
|
||||
NodePath b;
|
||||
|
||||
int solver_priority;
|
||||
bool exclude_from_collision;
|
||||
|
||||
|
||||
protected:
|
||||
@@ -67,6 +68,9 @@ public:
|
||||
void set_solver_priority(int p_priority);
|
||||
int get_solver_priority() const;
|
||||
|
||||
void set_exclude_nodes_from_collision(bool p_enable);
|
||||
bool get_exclude_nodes_from_collision() const;
|
||||
|
||||
RID get_joint() const { return joint; }
|
||||
Joint();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user