summaryrefslogtreecommitdiff
path: root/Runtime/Dynamics/FixedJoint.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Dynamics/FixedJoint.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Dynamics/FixedJoint.h')
-rw-r--r--Runtime/Dynamics/FixedJoint.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/Runtime/Dynamics/FixedJoint.h b/Runtime/Dynamics/FixedJoint.h
new file mode 100644
index 0000000..8bb9567
--- /dev/null
+++ b/Runtime/Dynamics/FixedJoint.h
@@ -0,0 +1,32 @@
+#ifndef FIXEDJOINT_H
+#define FIXEDJOINT_H
+
+#include "Runtime/BaseClasses/GameObject.h"
+#include "Runtime/Math/Vector3.h"
+#include "JointDescriptions.h"
+#include "Joint.h"
+class Rigidbody;
+class NxJointDesc;
+class NxRevoluteJoint;
+
+namespace Unity
+{
+
+class FixedJoint : public Joint
+{
+ public:
+
+ REGISTER_DERIVED_CLASS (FixedJoint, Joint)
+ DECLARE_OBJECT_SERIALIZE (FixedJoint)
+
+ FixedJoint (MemLabelId label, ObjectCreationMode mode);
+
+ private:
+
+ virtual void ApplySetupAxesToDesc (int option);
+ virtual void Create ();
+};
+
+}
+
+#endif