From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Dynamics/FixedJoint.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Runtime/Dynamics/FixedJoint.h (limited to 'Runtime/Dynamics/FixedJoint.h') 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 -- cgit v1.1-26-g67d0