diff options
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 3c094ad..fd02057 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -185,6 +185,7 @@ namespace OpenSim.Region.Physics.Manager | |||
185 | public abstract PhysicsVector GeometricCenter { get; } | 185 | public abstract PhysicsVector GeometricCenter { get; } |
186 | public abstract PhysicsVector CenterOfMass { get; } | 186 | public abstract PhysicsVector CenterOfMass { get; } |
187 | public abstract PhysicsVector Velocity { get; set; } | 187 | public abstract PhysicsVector Velocity { get; set; } |
188 | public abstract PhysicsVector Torque { get; set; } | ||
188 | public abstract float CollisionScore { get; set;} | 189 | public abstract float CollisionScore { get; set;} |
189 | public abstract PhysicsVector Acceleration { get; } | 190 | public abstract PhysicsVector Acceleration { get; } |
190 | public abstract Quaternion Orientation { get; set; } | 191 | public abstract Quaternion Orientation { get; set; } |
@@ -204,6 +205,7 @@ namespace OpenSim.Region.Physics.Manager | |||
204 | public abstract bool PIDActive { set;} | 205 | public abstract bool PIDActive { set;} |
205 | public abstract float PIDTau { set; } | 206 | public abstract float PIDTau { set; } |
206 | public abstract void AddForce(PhysicsVector force, bool pushforce); | 207 | public abstract void AddForce(PhysicsVector force, bool pushforce); |
208 | public abstract void AddAngularForce(PhysicsVector force, bool pushforce); | ||
207 | public abstract void SetMomentum(PhysicsVector momentum); | 209 | public abstract void SetMomentum(PhysicsVector momentum); |
208 | public abstract void SubscribeEvents(int ms); | 210 | public abstract void SubscribeEvents(int ms); |
209 | public abstract void UnSubscribeEvents(); | 211 | public abstract void UnSubscribeEvents(); |
@@ -331,6 +333,12 @@ namespace OpenSim.Region.Physics.Manager | |||
331 | set { return; } | 333 | set { return; } |
332 | } | 334 | } |
333 | 335 | ||
336 | public override PhysicsVector Torque | ||
337 | { | ||
338 | get { return PhysicsVector.Zero; } | ||
339 | set { return; } | ||
340 | } | ||
341 | |||
334 | public override float CollisionScore | 342 | public override float CollisionScore |
335 | { | 343 | { |
336 | get { return 0f; } | 344 | get { return 0f; } |
@@ -404,6 +412,11 @@ namespace OpenSim.Region.Physics.Manager | |||
404 | { | 412 | { |
405 | } | 413 | } |
406 | 414 | ||
415 | public override void AddAngularForce(PhysicsVector force, bool pushforce) | ||
416 | { | ||
417 | |||
418 | } | ||
419 | |||
407 | public override PhysicsVector RotationalVelocity | 420 | public override PhysicsVector RotationalVelocity |
408 | { | 421 | { |
409 | get { return PhysicsVector.Zero; } | 422 | get { return PhysicsVector.Zero; } |