29 #ifndef COLLISION_SHAPE_H 30 #define COLLISION_SHAPE_H 32 #include "scene/3d/spatial.h" 33 #include "scene/resources/shape.h" 38 OBJ_CATEGORY(
"3D Physics Nodes");
55 void resource_changed(
RES res);
63 int update_shape_index;
66 void _add_to_collision_object(
Object* p_cshape);
68 void _set_update_shape_index(
int p_index);
69 int _get_update_shape_index()
const;
71 void _create_debug_shape();
75 void _notification(
int p_what);
76 static void _bind_methods();
80 void make_convex_from_brothers();
85 void set_updating_body(
bool p_update);
86 bool is_updating_body()
const;
88 void set_trigger(
bool p_trigger);
89 bool is_trigger()
const;
91 int get_collision_object_shape_index()
const {
return _get_update_shape_index(); }
97 #endif // BODY_VOLUME_H
Definition: body_shape.h:35