-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gizmos for the constraint pivot
Added text describing how to use each constraint Renamed the constraint axis
- Loading branch information
Showing
17 changed files
with
138 additions
and
53 deletions.
There are no files selected for viewing
Binary file modified
BIN
+288 Bytes
(100%)
UnityProject/Assets/BulletUnity/Examples/Scenes/Constraints/Constraints.unity
Binary file not shown.
Binary file modified
BIN
+720 Bytes
(100%)
UnityProject/Assets/BulletUnity/Examples/Scenes/Ragdoll/Ragdoll.unity
Binary file not shown.
Binary file modified
BIN
-344 Bytes
(100%)
UnityProject/Assets/BulletUnity/Examples/Scenes/SoftBody/RatherGoodPlayground.unity
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
UnityProject/Assets/BulletUnity/Scripts/Constraints/Editor/B6DOFConstraintEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using UnityEditor; | ||
using UnityEngine; | ||
using BulletUnity; | ||
|
||
[CustomEditor(typeof(B6DOFConstraint))] | ||
public class B6DOFConstraintEditor : Editor { | ||
|
||
|
||
|
||
public override void OnInspectorGUI() { | ||
EditorGUILayout.HelpBox(B6DOFConstraint.HelpMessage, MessageType.Info); | ||
DrawDefaultInspector(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
UnityProject/Assets/BulletUnity/Scripts/Constraints/Editor/B6DOFConstraintEditor.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
UnityProject/Assets/BulletUnity/Scripts/Constraints/Editor/BBallSocketConstraintEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using UnityEditor; | ||
using UnityEngine; | ||
using BulletUnity; | ||
|
||
[CustomEditor(typeof(BBallSocketConstraint))] | ||
public class BBallSocketConstraintEditor : Editor { | ||
|
||
|
||
|
||
public override void OnInspectorGUI() { | ||
EditorGUILayout.HelpBox(BBallSocketConstraint.HelpMessage, MessageType.Info); | ||
DrawDefaultInspector(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...Project/Assets/BulletUnity/Scripts/Constraints/Editor/BBallSocketConstraintEditor.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
UnityProject/Assets/BulletUnity/Scripts/Constraints/Editor/BSliderConstraintEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using UnityEditor; | ||
using UnityEngine; | ||
using BulletUnity; | ||
|
||
[CustomEditor(typeof(BSliderConstraint))] | ||
public class BSliderConstraintEditor : Editor { | ||
|
||
|
||
|
||
public override void OnInspectorGUI() { | ||
BSliderConstraint hc = (BSliderConstraint)target; | ||
EditorGUILayout.HelpBox(BSliderConstraint.HelpMessage, MessageType.Info); | ||
DrawDefaultInspector(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
UnityProject/Assets/BulletUnity/Scripts/Constraints/Editor/BSliderConstraintEditor.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.