diff options
author | Robert Adams | 2013-08-24 08:33:28 -0700 |
---|---|---|
committer | Robert Adams | 2013-09-11 09:12:16 -0700 |
commit | cf2cdc191d0a93860da1ff4c42d34138e8f369fb (patch) | |
tree | 7df673cb1393a19cd5188494980ed557fa838db7 /OpenSim/Region/OptionalModules/Scripting | |
parent | BulletSim: add axis parameter for specifying enable, damping, and stiffness f... (diff) | |
download | opensim-SC_OLD-cf2cdc191d0a93860da1ff4c42d34138e8f369fb.zip opensim-SC_OLD-cf2cdc191d0a93860da1ff4c42d34138e8f369fb.tar.gz opensim-SC_OLD-cf2cdc191d0a93860da1ff4c42d34138e8f369fb.tar.bz2 opensim-SC_OLD-cf2cdc191d0a93860da1ff4c42d34138e8f369fb.tar.xz |
BulletSim: ability to specify groups of axis to modify in constraint parameters that control multiple axis. Add useLinearReferenceFrameA constraint parameter.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rwxr-xr-x | OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs b/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs index ef106bd..94367f5 100755 --- a/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs +++ b/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs | |||
@@ -406,8 +406,18 @@ public class ExtendedPhysics : INonSharedRegionModule | |||
406 | public const int PHYS_PARAM_SPRING_STIFFNESS = 14418; | 406 | public const int PHYS_PARAM_SPRING_STIFFNESS = 14418; |
407 | [ScriptConstant] | 407 | [ScriptConstant] |
408 | public const int PHYS_PARAM_LINK_TYPE = 14419; | 408 | public const int PHYS_PARAM_LINK_TYPE = 14419; |
409 | [ScriptConstant] | ||
410 | public const int PHYS_PARAM_USE_LINEAR_FRAMEA = 14420; | ||
411 | |||
412 | public const int PHYS_PARAM_MAX = 14420; | ||
409 | 413 | ||
410 | public const int PHYS_PARAM_MAX = 14419; | 414 | // Used when specifying a parameter that has settings for the three linear and three angular axis |
415 | [ScriptConstant] | ||
416 | public const int PHYS_AXIS_ALL = -1; | ||
417 | [ScriptConstant] | ||
418 | public const int PHYS_AXIS_ALL_LINEAR = -2; | ||
419 | [ScriptConstant] | ||
420 | public const int PHYS_AXIS_ALL_ANGULAR = -3; | ||
411 | 421 | ||
412 | // physChangeLinkParams(integer linkNum, [ PHYS_PARAM_*, value, PHYS_PARAM_*, value, ...]) | 422 | // physChangeLinkParams(integer linkNum, [ PHYS_PARAM_*, value, PHYS_PARAM_*, value, ...]) |
413 | [ScriptInvocation] | 423 | [ScriptInvocation] |