aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
diff options
context:
space:
mode:
authorBlueWall2013-01-23 08:16:18 -0500
committerBlueWall2013-01-23 08:16:18 -0500
commit2841ed05cf003fef8dc820d0327c1fcce0d76e93 (patch)
tree2d3647e4ffad8220e5b30fbdfbf7b3a36be0597c /OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
parentAdd additional return status (diff)
parentBulletSim: Tweeks to vehicle motion. (diff)
downloadopensim-SC-2841ed05cf003fef8dc820d0327c1fcce0d76e93.zip
opensim-SC-2841ed05cf003fef8dc820d0327c1fcce0d76e93.tar.gz
opensim-SC-2841ed05cf003fef8dc820d0327c1fcce0d76e93.tar.bz2
opensim-SC-2841ed05cf003fef8dc820d0327c1fcce0d76e93.tar.xz
Merge branch 'master' of /home/opensim/var/repo/opensim
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
index bac0427..027c786 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
@@ -55,6 +55,16 @@ namespace OpenSim.Region.Physics.BulletSPlugin
55 * BS.ApplyCentralForce BS.ApplyTorque 55 * BS.ApplyCentralForce BS.ApplyTorque
56 */ 56 */
57 57
58// Flags used to denote which properties updates when making UpdateProperties calls to linksets, etc.
59public enum UpdatedProperties : uint
60{
61 Position = 1 << 0,
62 Orientation = 1 << 1,
63 Velocity = 1 << 2,
64 Acceleration = 1 << 3,
65 RotationalVelocity = 1 << 4,
66 EntPropUpdates = Position | Orientation | Velocity | Acceleration | RotationalVelocity,
67}
58public abstract class BSPhysObject : PhysicsActor 68public abstract class BSPhysObject : PhysicsActor
59{ 69{
60 protected BSPhysObject() 70 protected BSPhysObject()
@@ -141,7 +151,7 @@ public abstract class BSPhysObject : PhysicsActor
141 151
142 // It can be confusing for an actor to know if it should move or update an object 152 // It can be confusing for an actor to know if it should move or update an object
143 // depeneding on the setting of 'selected', 'physical, ... 153 // depeneding on the setting of 'selected', 'physical, ...
144 // This flag is the true test -- if true, the object is being acted on in the physical world 154 // This flag is the true test -- if true, the object is being acted on in the physical world
145 public abstract bool IsPhysicallyActive { get; } 155 public abstract bool IsPhysicallyActive { get; }
146 156
147 // Materialness 157 // Materialness