aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.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/BasicPhysicsPlugin/BasicPhysicsPlugin.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/BasicPhysicsPlugin/BasicPhysicsPlugin.cs')
-rw-r--r--OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index 9954798..013c9cf 100644
--- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -381,6 +381,12 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
381 set { _velocity = value; } 381 set { _velocity = value; }
382 } 382 }
383 383
384 public override PhysicsVector Torque
385 {
386 get { return PhysicsVector.Zero; }
387 set { return; }
388 }
389
384 public override float CollisionScore 390 public override float CollisionScore
385 { 391 {
386 get { return 0f; } 392 get { return 0f; }
@@ -426,6 +432,10 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
426 { 432 {
427 } 433 }
428 434
435 public override void AddAngularForce(PhysicsVector force, bool pushforce)
436 {
437 }
438
429 public override void SetMomentum(PhysicsVector momentum) 439 public override void SetMomentum(PhysicsVector momentum)
430 { 440 {
431 } 441 }