45 bool exclude_from_collision;
52 void _notification(
int p_what);
53 virtual RID _configure_joint()=0;
55 static void _bind_methods();
58 void set_node_a(
const NodePath& p_node_a);
61 void set_node_b(
const NodePath& p_node_b);
64 void set_bias(real_t p_bias);
65 real_t get_bias()
const;
67 void set_exclude_nodes_from_collision(
bool p_enable);
68 bool get_exclude_nodes_from_collision()
const;
70 RID get_joint()
const {
return joint; }
84 void _notification(
int p_what);
85 virtual RID _configure_joint();
86 static void _bind_methods();
89 void set_softness(real_t p_stiffness);
90 real_t get_softness()
const;
100 real_t initial_offset;
104 void _notification(
int p_what);
105 virtual RID _configure_joint();
106 static void _bind_methods();
109 void set_length(real_t p_length);
110 real_t get_length()
const;
112 void set_initial_offset(real_t p_initial_offset);
113 real_t get_initial_offset()
const;
129 void _notification(
int p_what);
130 virtual RID _configure_joint();
131 static void _bind_methods();
134 void set_length(real_t p_length);
135 real_t get_length()
const;
137 void set_rest_length(real_t p_rest_length);
138 real_t get_rest_length()
const;
140 void set_damping(real_t p_damping);
141 real_t get_damping()
const;
143 void set_stiffness(real_t p_stiffness);
144 real_t get_stiffness()
const;
150 #endif // JOINTS_2D_H Definition: joints_2d.h:118
Definition: joints_2d.h:95
Definition: joints_2d.h:76
Definition: joints_2d.h:35