Add D6 Joint motions editing in Editor properties panel
This commit is contained in:
@@ -40,6 +40,7 @@ API_ENUM() enum class D6JointAxis
|
||||
/// </summary>
|
||||
SwingZ = 5,
|
||||
|
||||
API_ENUM(Attributes="HideInEditor")
|
||||
MAX
|
||||
};
|
||||
|
||||
@@ -63,6 +64,7 @@ API_ENUM() enum class D6JointMotion
|
||||
/// </summary>
|
||||
Free,
|
||||
|
||||
API_ENUM(Attributes="HideInEditor")
|
||||
MAX
|
||||
};
|
||||
|
||||
@@ -113,6 +115,7 @@ API_ENUM() enum class D6JointDriveType
|
||||
/// </summary>
|
||||
Slerp = 5,
|
||||
|
||||
API_ENUM(Attributes="HideInEditor")
|
||||
MAX
|
||||
};
|
||||
|
||||
|
||||
@@ -330,12 +330,12 @@ DECLARE_SCRIPTING_TYPE_MINIMAL(LimitConeRange);
|
||||
/// <summary>
|
||||
/// The Y angle of the cone (in degrees). Movement is constrained between 0 and this angle on the Y axis.
|
||||
/// </summary>
|
||||
API_FIELD() float YLimitAngle = 90.0f;
|
||||
API_FIELD(Attributes="Limit(0.0f, 180.0f)") float YLimitAngle = 90.0f;
|
||||
|
||||
/// <summary>
|
||||
/// The Z angle of the cone (in degrees). Movement is constrained between 0 and this angle on the Z axis.
|
||||
/// </summary>
|
||||
API_FIELD() float ZLimitAngle = 90.0f;
|
||||
API_FIELD(Attributes="Limit(0.0f, 180.0f)") float ZLimitAngle = 90.0f;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user