-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
393 additions
and
60 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
global proc AEboneDynamicsNodeTemplate(string $nodeName) | ||
{ | ||
editorTemplate -beginScrollLayout; | ||
|
||
editorTemplate -beginLayout "Bone Dynamics Node Attributes" -collapse false; | ||
|
||
editorTemplate -addControl "enable"; | ||
editorTemplate -addControl "time"; | ||
editorTemplate -addControl "resetTime"; | ||
editorTemplate -label "FPS" -addControl "fps"; | ||
|
||
editorTemplate -beginLayout "Input Attributes" -collapse false; | ||
editorTemplate -addControl "boneTranslate"; | ||
editorTemplate -addControl "boneJointOrient"; | ||
editorTemplate -addControl "boneScale"; | ||
editorTemplate -addControl "boneInverseScale"; | ||
editorTemplate -addControl "boneParentMatrix"; | ||
editorTemplate -addControl "boneParentInverseMatrix"; | ||
|
||
editorTemplate -addSeparator; | ||
|
||
editorTemplate -addControl "endTranslate"; | ||
editorTemplate -addControl "endScale"; | ||
editorTemplate -endLayout; | ||
|
||
editorTemplate -beginLayout "Control Attributes" -collapse true; | ||
editorTemplate -addControl "rotationOffset"; | ||
editorTemplate -addControl "offsetMatrix"; | ||
editorTemplate -addControl "offsetMatrixWeight"; | ||
editorTemplate -endLayout; | ||
|
||
editorTemplate -beginLayout "Dynamics Attributes" -collapse false; | ||
editorTemplate -addControl "damping"; | ||
editorTemplate -addControl "elasticity"; | ||
editorTemplate -addControl "elasticForceFunction"; | ||
editorTemplate -addControl "stiffness"; | ||
editorTemplate -addControl "mass"; | ||
editorTemplate -addControl "gravity"; | ||
editorTemplate -addControl "gravityMultiply"; | ||
|
||
editorTemplate -addSeparator; | ||
|
||
editorTemplate -addControl "additionalForce"; | ||
editorTemplate -addControl "additionalForceScale"; | ||
|
||
editorTemplate -addSeparator; | ||
|
||
editorTemplate -addControl "enableTurbulence"; | ||
editorTemplate -addControl "turbulenceSeed"; | ||
editorTemplate -addControl "turbulenceStrength"; | ||
editorTemplate -addControl "turbulenceVectorChangeScale"; | ||
editorTemplate -addControl "turbulenceVectorChangeMax"; | ||
editorTemplate -endLayout; | ||
|
||
editorTemplate -beginLayout "Limits" -collapse true; | ||
editorTemplate -addControl "enableAngleLimit"; | ||
editorTemplate -addControl "angleLimit"; | ||
editorTemplate -endLayout; | ||
|
||
editorTemplate -beginLayout "Collisions" -collapse true; | ||
editorTemplate -addControl "radius"; | ||
editorTemplate -addControl "iterations"; | ||
editorTemplate -addControl "enableGroundCol"; | ||
editorTemplate -addControl "groundHeight"; | ||
editorTemplate -addControl "sphereCollider"; | ||
editorTemplate -addControl "capsuleCollider"; | ||
editorTemplate -addControl "infinitePlaneCollider"; | ||
editorTemplate -label "Mesh Collider (*Experimental)" -addControl "meshCollider"; | ||
editorTemplate -addControl "meshColCutoff"; | ||
editorTemplate -endLayout; | ||
|
||
//suppressed attributes | ||
editorTemplate -suppress "outputRotate"; | ||
|
||
// include/call base class/node attributes | ||
AEdependNodeTemplate $nodeName; | ||
|
||
editorTemplate -addExtraControls; | ||
|
||
editorTemplate -endLayout; | ||
|
||
editorTemplate -endScrollLayout; | ||
} |
Oops, something went wrong.