1
0
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:
Juan Linietsky
2015-12-08 17:47:12 -03:00
parent ecad3a285f
commit 09ff457185
4 changed files with 70 additions and 5 deletions

View File

@@ -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();