diff options
author | Teravus Ovares | 2008-04-23 15:32:19 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-04-23 15:32:19 +0000 |
commit | 2a3bdde0fa78c5a59c530e6d974dfd6709aa1519 (patch) | |
tree | d2857d6fc06cde42bef42a731e115caf60add086 /OpenSim/Region/Physics/PhysXPlugin | |
parent | Two small changes: (diff) | |
download | opensim-SC-2a3bdde0fa78c5a59c530e6d974dfd6709aa1519.zip opensim-SC-2a3bdde0fa78c5a59c530e6d974dfd6709aa1519.tar.gz opensim-SC-2a3bdde0fa78c5a59c530e6d974dfd6709aa1519.tar.bz2 opensim-SC-2a3bdde0fa78c5a59c530e6d974dfd6709aa1519.tar.xz |
* Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results.
* Three axis works well enough to play with it anyway. More work is needed here.
* Fixed an incorrectly named method in ODE.NET
Diffstat (limited to 'OpenSim/Region/Physics/PhysXPlugin')
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs index 2d00bdb..2d40134 100644 --- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs +++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | |||
@@ -392,6 +392,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
392 | 392 | ||
393 | } | 393 | } |
394 | 394 | ||
395 | public override void LockAngularMotion(PhysicsVector axis) | ||
396 | { | ||
397 | |||
398 | } | ||
399 | |||
395 | public override void SetMomentum(PhysicsVector momentum) | 400 | public override void SetMomentum(PhysicsVector momentum) |
396 | { | 401 | { |
397 | } | 402 | } |
@@ -630,6 +635,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
630 | { | 635 | { |
631 | } | 636 | } |
632 | 637 | ||
638 | public override void LockAngularMotion(PhysicsVector axis) | ||
639 | { | ||
640 | |||
641 | } | ||
642 | |||
633 | public override float Mass | 643 | public override float Mass |
634 | { | 644 | { |
635 | get { return 0f; } | 645 | get { return 0f; } |