From 8ad6f575ebc23f0c7b282b9ec2543bce26287e54 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 14 Dec 2008 14:30:28 +0000 Subject: * 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 --- OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/Physics/BulletXPlugin') diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs index 20c556f..4f1afdd 100644 --- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs +++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs @@ -1134,6 +1134,14 @@ namespace OpenSim.Region.Physics.BulletXPlugin public override void AddForce(PhysicsVector force, bool pushforce) { } + public override PhysicsVector Torque + { + get { return PhysicsVector.Zero; } + set { return; } + } + public override void AddAngularForce(PhysicsVector force, bool pushforce) + { + } public override void SetMomentum(PhysicsVector momentum) { -- cgit v1.1