summaryrefslogtreecommitdiff
path: root/Runtime/Dynamics/FixedJoint.h
blob: 8bb9567d262499b703486e9f71c8c9c312a13a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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