diff options
author | Robert Adams | 2013-09-04 07:56:59 -0700 |
---|---|---|
committer | Robert Adams | 2013-09-11 09:12:18 -0700 |
commit | 5827b6e1aabf2e19624faf0141b9611917fb84c5 (patch) | |
tree | 6b13ebc4d7840d5dcd04d4efeddfdbb933609620 /OpenSim/Region/OptionalModules/Scripting | |
parent | BulletSim: ability to specify groups of axis to modify in constraint paramete... (diff) | |
download | opensim-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-x | OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs | 16 |
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] |