Files
bullet3/Extras/MayaPlugin/scripts/AEdSolverTemplate.mel
rponom d5f5ddf2f1 Bullet debug draw added
It is off by default, see attributes of dSolverNode to turn it on
2010-01-30 04:21:12 +00:00

66 lines
2.1 KiB
Plaintext

/*
Bullet Continuous Collision Detection and Physics Library Maya Plugin
Copyright (c) 2008 Walt Disney Studios
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising
from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product documentation
would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must
not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Written by: Nicola Candussi <nicola@fluidinteractive.com>
*/
//AEdSolverTemplate.mel
global proc AEdSolverTemplate( string $nodeName )
{
editorTemplate -beginScrollLayout;
editorTemplate -addControl ssSolverType;
editorTemplate -addControl gravity;
editorTemplate -addControl substeps;
editorTemplate -addControl enabled;
editorTemplate -addControl splitImpulse;
editorTemplate -addControl startTime;
editorTemplate -addControl rigidBodies;
editorTemplate -addControl drawWireframe;
editorTemplate -addControl drawAabb;
editorTemplate -addControl drawFeaturesText;
editorTemplate -addControl drawContactPoints;
editorTemplate -addControl noDeactivation;
editorTemplate -addControl noHelpText;
editorTemplate -addControl drawText;
editorTemplate -addControl profileTimings;
editorTemplate -addControl enableSatComparison;
editorTemplate -addControl disableBulletLCP;
editorTemplate -addControl enableCCD;
editorTemplate -addControl drawConstraints;
editorTemplate -addControl drawConstraintLimits;
editorTemplate -addControl fastWireframe;
AEdependNodeTemplate $nodeName;
editorTemplate -addExtraControls;
editorTemplate -endScrollLayout;
}