#ifndef GODOT_CPP_GENERIC6DOFJOINT_HPP #define GODOT_CPP_GENERIC6DOFJOINT_HPP #include #include #include #include #include "Joint.hpp" 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 = 12, PARAM_LINEAR_LOWER_LIMIT = 0, PARAM_ANGULAR_RESTITUTION = 11, PARAM_ANGULAR_MOTOR_FORCE_LIMIT = 15, PARAM_ANGULAR_UPPER_LIMIT = 8, PARAM_LINEAR_DAMPING = 4, PARAM_ANGULAR_LIMIT_SOFTNESS = 9, PARAM_ANGULAR_LOWER_LIMIT = 7, PARAM_MAX = 16, PARAM_ANGULAR_MOTOR_TARGET_VELOCITY = 14, PARAM_LINEAR_MOTOR_FORCE_LIMIT = 6, PARAM_LINEAR_LIMIT_SOFTNESS = 2, PARAM_LINEAR_MOTOR_TARGET_VELOCITY = 5, PARAM_LINEAR_UPPER_LIMIT = 1, PARAM_ANGULAR_DAMPING = 10, PARAM_ANGULAR_ERP = 13, }; enum Flag { FLAG_ENABLE_ANGULAR_LIMIT = 1, FLAG_ENABLE_LINEAR_LIMIT = 0, FLAG_MAX = 4, FLAG_ENABLE_LINEAR_MOTOR = 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