diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs index cae599c..34dec26 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs | |||
@@ -69,6 +69,16 @@ public abstract class BSPhysObject : PhysicsActor | |||
69 | // Reference to the physical shape (btCollisionShape) of this object | 69 | // Reference to the physical shape (btCollisionShape) of this object |
70 | public BulletShape BSShape; | 70 | public BulletShape BSShape; |
71 | 71 | ||
72 | // When the physical properties are updated, an EntityProperty holds the update values. | ||
73 | // Keep the current and last EntityProperties to enable computation of differences | ||
74 | // between the current update and the previous values. | ||
75 | public EntityProperties CurrentEntityProperties { get; set; } | ||
76 | public EntityProperties LastEntityProperties { get; set; } | ||
77 | |||
78 | public abstract OMV.Vector3 Scale { get; set; } | ||
79 | public abstract bool IsSolid { get; } | ||
80 | public abstract bool IsStatic { get; } | ||
81 | |||
72 | // Stop all physical motion. | 82 | // Stop all physical motion. |
73 | public abstract void ZeroMotion(); | 83 | public abstract void ZeroMotion(); |
74 | 84 | ||
@@ -89,6 +99,8 @@ public abstract class BSPhysObject : PhysicsActor | |||
89 | 99 | ||
90 | public abstract OMV.Vector3 ForceRotationalVelocity { get; set; } | 100 | public abstract OMV.Vector3 ForceRotationalVelocity { get; set; } |
91 | 101 | ||
102 | public abstract float ForceBuoyancy { get; set; } | ||
103 | |||
92 | #region Collisions | 104 | #region Collisions |
93 | 105 | ||
94 | // Requested number of milliseconds between collision events. Zero means disabled. | 106 | // Requested number of milliseconds between collision events. Zero means disabled. |