aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-14 14:30:28 +0000
committerTeravus Ovares2008-12-14 14:30:28 +0000
commit8ad6f575ebc23f0c7b282b9ec2543bce26287e54 (patch)
treeab424abb19a070cce386a5013b3d5452dbdf9bc2 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
parentAdded ATTACH_HUD_* constants fixes Mantis #2823 (diff)
downloadopensim-SC_OLD-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.zip
opensim-SC_OLD-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.gz
opensim-SC_OLD-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.bz2
opensim-SC_OLD-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.xz
* Implements the torque/Rotational Impulse methods in the PhysicsAPI and the ODEPlugin and pipes them to their respective LSL method.
* NBody will need to be updated, this is an API change. Torque property and AddAngularForce
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index de09691..f2906cf 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -605,6 +605,12 @@ namespace OpenSim.Region.Physics.OdePlugin
605 } 605 }
606 } 606 }
607 607
608 public override PhysicsVector Torque
609 {
610 get { return PhysicsVector.Zero; }
611 set { return; }
612 }
613
608 public override float CollisionScore 614 public override float CollisionScore
609 { 615 {
610 get { return 0f; } 616 get { return 0f; }
@@ -665,6 +671,11 @@ namespace OpenSim.Region.Physics.OdePlugin
665 //m_lastUpdateSent = false; 671 //m_lastUpdateSent = false;
666 } 672 }
667 673
674 public override void AddAngularForce(PhysicsVector force, bool pushforce)
675 {
676
677 }
678
668 /// <summary> 679 /// <summary>
669 /// After all of the forces add up with 'add force' we apply them with doForce 680 /// After all of the forces add up with 'add force' we apply them with doForce
670 /// </summary> 681 /// </summary>