feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -87,8 +87,8 @@ void ConeTwistJoint3D::_configure_joint(RID p_joint, PhysicsBody3D *body_a, Phys
|
|||
}
|
||||
|
||||
ConeTwistJoint3D::ConeTwistJoint3D() {
|
||||
params[PARAM_SWING_SPAN] = Math_PI * 0.25;
|
||||
params[PARAM_TWIST_SPAN] = Math_PI;
|
||||
params[PARAM_SWING_SPAN] = Math::PI * 0.25;
|
||||
params[PARAM_TWIST_SPAN] = Math::PI;
|
||||
params[PARAM_BIAS] = 0.3;
|
||||
params[PARAM_SOFTNESS] = 0.8;
|
||||
params[PARAM_RELAXATION] = 1.0;
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef CONE_TWIST_JOINT_3D_H
|
||||
#define CONE_TWIST_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/3d/physics/joints/joint_3d.h"
|
||||
|
||||
|
|
@ -59,5 +58,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(ConeTwistJoint3D::Param);
|
||||
|
||||
#endif // CONE_TWIST_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GENERIC_6DOF_JOINT_3D_H
|
||||
#define GENERIC_6DOF_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/3d/physics/joints/joint_3d.h"
|
||||
|
||||
|
|
@ -108,5 +107,3 @@ public:
|
|||
|
||||
VARIANT_ENUM_CAST(Generic6DOFJoint3D::Param);
|
||||
VARIANT_ENUM_CAST(Generic6DOFJoint3D::Flag);
|
||||
|
||||
#endif // GENERIC_6DOF_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -122,8 +122,8 @@ void HingeJoint3D::_configure_joint(RID p_joint, PhysicsBody3D *body_a, PhysicsB
|
|||
|
||||
HingeJoint3D::HingeJoint3D() {
|
||||
params[PARAM_BIAS] = 0.3;
|
||||
params[PARAM_LIMIT_UPPER] = Math_PI * 0.5;
|
||||
params[PARAM_LIMIT_LOWER] = -Math_PI * 0.5;
|
||||
params[PARAM_LIMIT_UPPER] = Math::PI * 0.5;
|
||||
params[PARAM_LIMIT_LOWER] = -Math::PI * 0.5;
|
||||
params[PARAM_LIMIT_BIAS] = 0.3;
|
||||
params[PARAM_LIMIT_SOFTNESS] = 0.9;
|
||||
params[PARAM_LIMIT_RELAXATION] = 1.0;
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef HINGE_JOINT_3D_H
|
||||
#define HINGE_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/3d/physics/joints/joint_3d.h"
|
||||
|
||||
|
|
@ -73,5 +72,3 @@ public:
|
|||
|
||||
VARIANT_ENUM_CAST(HingeJoint3D::Param);
|
||||
VARIANT_ENUM_CAST(HingeJoint3D::Flag);
|
||||
|
||||
#endif // HINGE_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JOINT_3D_H
|
||||
#define JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/3d/node_3d.h"
|
||||
#include "scene/3d/physics/physics_body_3d.h"
|
||||
|
|
@ -81,5 +80,3 @@ public:
|
|||
Joint3D();
|
||||
~Joint3D();
|
||||
};
|
||||
|
||||
#endif // JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef PIN_JOINT_3D_H
|
||||
#define PIN_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/3d/physics/joints/joint_3d.h"
|
||||
|
||||
|
|
@ -56,5 +55,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(PinJoint3D::Param);
|
||||
|
||||
#endif // PIN_JOINT_3D_H
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef SLIDER_JOINT_3D_H
|
||||
#define SLIDER_JOINT_3D_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/3d/physics/joints/joint_3d.h"
|
||||
|
||||
|
|
@ -78,5 +77,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(SliderJoint3D::Param);
|
||||
|
||||
#endif // SLIDER_JOINT_3D_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue