aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting
diff options
context:
space:
mode:
authorRobert Adams2013-09-04 07:56:59 -0700
committerRobert Adams2013-09-11 09:12:18 -0700
commit5827b6e1aabf2e19624faf0141b9611917fb84c5 (patch)
tree6b13ebc4d7840d5dcd04d4efeddfdbb933609620 /OpenSim/Region/OptionalModules/Scripting
parentBulletSim: ability to specify groups of axis to modify in constraint paramete... (diff)
downloadopensim-SC_OLD-5827b6e1aabf2e19624faf0141b9611917fb84c5.zip
opensim-SC_OLD-5827b6e1aabf2e19624faf0141b9611917fb84c5.tar.gz
opensim-SC_OLD-5827b6e1aabf2e19624faf0141b9611917fb84c5.tar.bz2
opensim-SC_OLD-5827b6e1aabf2e19624faf0141b9611917fb84c5.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/Scripting')
-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]