Implements llSetForce() and llGetForce(). These are experimental and the units may not match the Linden implementation.

This commit is contained in:
Dahlia Trimble
2008-07-24 07:45:58 +00:00
parent d58346e798
commit f74a9bcdc7
11 changed files with 92 additions and 10 deletions

View File

@@ -173,7 +173,7 @@ namespace OpenSim.Region.Physics.Manager
public abstract PhysicsVector Position { get; set; }
public abstract float Mass { get; }
public abstract PhysicsVector Force { get; }
public abstract PhysicsVector Force { get; set; }
public abstract PhysicsVector GeometricCenter { get; }
public abstract PhysicsVector CenterOfMass { get; }
public abstract PhysicsVector Velocity { get; set; }
@@ -277,6 +277,7 @@ namespace OpenSim.Region.Physics.Manager
public override PhysicsVector Force
{
get { return PhysicsVector.Zero; }
set { return; }
}
public override PhysicsVector CenterOfMass