Add improvements for joints editing with debug shapes

This commit is contained in:
Wojtek Figat
2021-09-29 10:02:38 +02:00
parent 5c60281814
commit 3d1213d669
14 changed files with 252 additions and 13 deletions

View File

@@ -161,7 +161,7 @@ public:
/// <summary>
/// Physics joint that is the most customizable type of joint. This joint type can be used to create all other built-in joint
/// types, and to design your own custom ones, but is less intuitive to use.Allows a specification of a linear
/// types, and to design your own custom ones, but is less intuitive to use. Allows a specification of a linear
/// constraint (for example for a slider), twist constraint (rotating around X) and swing constraint (rotating around Y and Z).
/// It also allows you to constrain limits to only specific axes or completely lock specific axes.
/// </summary>
@@ -325,6 +325,9 @@ public:
public:
// [Joint]
#if USE_EDITOR
void OnDebugDrawSelected() override;
#endif
void Serialize(SerializeStream& stream, const void* otherObj) override;
void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) override;