diff options
author | Teravus Ovares | 2008-12-14 14:30:28 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-12-14 14:30:28 +0000 |
commit | 8ad6f575ebc23f0c7b282b9ec2543bce26287e54 (patch) | |
tree | ab424abb19a070cce386a5013b3d5452dbdf9bc2 /OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |
parent | Added ATTACH_HUD_* constants fixes Mantis #2823 (diff) | |
download | opensim-SC-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.zip opensim-SC-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.gz opensim-SC-8ad6f575ebc23f0c7b282b9ec2543bce26287e54.tar.bz2 opensim-SC-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.cs | 10 |
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 | } |