aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules
diff options
context:
space:
mode:
authorRobert Adams2013-09-04 07:56:59 -0700
committerJustin Clark-Casey (justincc)2013-09-20 21:03:47 +0100
commitbde8ac6a5ce94910ec369332242a97ea37118a71 (patch)
tree1537025efd4237b46a96cf6573b3c1d98e150685 /OpenSim/Region/OptionalModules
parentBulletSim: ability to specify groups of axis to modify in constraint paramete... (diff)
downloadopensim-SC_OLD-bde8ac6a5ce94910ec369332242a97ea37118a71.zip
opensim-SC_OLD-bde8ac6a5ce94910ec369332242a97ea37118a71.tar.gz
opensim-SC_OLD-bde8ac6a5ce94910ec369332242a97ea37118a71.tar.bz2
opensim-SC_OLD-bde8ac6a5ce94910ec369332242a97ea37118a71.tar.xz
BulletSim: add extended physics LSL constants for axis specification.
Add specific error warnings for mis-matched parameter types in extended physics functions.
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rwxr-xr-xOpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs16
1 files changed, 14 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs b/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs
index 94367f5..b0b0bc6 100755
--- a/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs
@@ -415,9 +415,21 @@ public class ExtendedPhysics : INonSharedRegionModule
415 [ScriptConstant] 415 [ScriptConstant]
416 public const int PHYS_AXIS_ALL = -1; 416 public const int PHYS_AXIS_ALL = -1;
417 [ScriptConstant] 417 [ScriptConstant]
418 public const int PHYS_AXIS_ALL_LINEAR = -2; 418 public const int PHYS_AXIS_LINEAR_ALL = -2;
419 [ScriptConstant] 419 [ScriptConstant]
420 public const int PHYS_AXIS_ALL_ANGULAR = -3; 420 public const int PHYS_AXIS_ANGULAR_ALL = -3;
421 [ScriptConstant]
422 public const int PHYS_AXIS_LINEAR_X = 0;
423 [ScriptConstant]
424 public const int PHYS_AXIS_LINEAR_Y = 1;
425 [ScriptConstant]
426 public const int PHYS_AXIS_LINEAR_Z = 2;
427 [ScriptConstant]
428 public const int PHYS_AXIS_ANGULAR_X = 3;
429 [ScriptConstant]
430 public const int PHYS_AXIS_ANGULAR_Y = 4;
431 [ScriptConstant]
432 public const int PHYS_AXIS_ANGULAR_Z = 5;
421 433
422 // physChangeLinkParams(integer linkNum, [ PHYS_PARAM_*, value, PHYS_PARAM_*, value, ...]) 434 // physChangeLinkParams(integer linkNum, [ PHYS_PARAM_*, value, PHYS_PARAM_*, value, ...])
423 [ScriptInvocation] 435 [ScriptInvocation]