#ifndef GODOT_CPP_GENERIC6DOFJOINT_HPP #define GODOT_CPP_GENERIC6DOFJOINT_HPP #include #include #include #include #include namespace godot { class Generic6DOFJoint : public Joint { public: static void *___get_type_tag(); static void *___get_base_type_tag(); static inline const char *___get_class_name() { return (const char *) "Generic6DOFJoint"; } static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o); } // enums enum Param { PARAM_LINEAR_RESTITUTION = 3, PARAM_ANGULAR_FORCE_LIMIT = 10, PARAM_LINEAR_LOWER_LIMIT = 0, PARAM_ANGULAR_RESTITUTION = 9, PARAM_ANGULAR_MOTOR_FORCE_LIMIT = 13, PARAM_ANGULAR_UPPER_LIMIT = 6, PARAM_LINEAR_DAMPING = 4, PARAM_ANGULAR_LIMIT_SOFTNESS = 7, PARAM_ANGULAR_LOWER_LIMIT = 5, PARAM_MAX = 14, PARAM_ANGULAR_MOTOR_TARGET_VELOCITY = 12, PARAM_LINEAR_LIMIT_SOFTNESS = 2, PARAM_LINEAR_UPPER_LIMIT = 1, PARAM_ANGULAR_DAMPING = 8, PARAM_ANGULAR_ERP = 11, }; enum Flag { FLAG_ENABLE_ANGULAR_LIMIT = 1, FLAG_ENABLE_LINEAR_LIMIT = 0, FLAG_MAX = 3, FLAG_ENABLE_MOTOR = 2, }; // constants static Generic6DOFJoint *_new(); // methods void _set_angular_hi_limit_x(const double angle); double _get_angular_hi_limit_x() const; void _set_angular_lo_limit_x(const double angle); double _get_angular_lo_limit_x() const; void _set_angular_hi_limit_y(const double angle); double _get_angular_hi_limit_y() const; void _set_angular_lo_limit_y(const double angle); double _get_angular_lo_limit_y() const; void _set_angular_hi_limit_z(const double angle); double _get_angular_hi_limit_z() const; void _set_angular_lo_limit_z(const double angle); double _get_angular_lo_limit_z() const; void set_param_x(const int64_t param, const double value); double get_param_x(const int64_t param) const; void set_param_y(const int64_t param, const double value); double get_param_y(const int64_t param) const; void set_param_z(const int64_t param, const double value); double get_param_z(const int64_t param) const; void set_flag_x(const int64_t flag, const bool value); bool get_flag_x(const int64_t flag) const; void set_flag_y(const int64_t flag, const bool value); bool get_flag_y(const int64_t flag) const; void set_flag_z(const int64_t flag, const bool value); bool get_flag_z(const int64_t flag) const; }; } #endif