diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Dynamics/FixedJoint.h |
Diffstat (limited to 'Runtime/Dynamics/FixedJoint.h')
-rw-r--r-- | Runtime/Dynamics/FixedJoint.h | 32 |
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 |