diff options
author | Robert Adams | 2016-11-13 11:19:54 -0800 |
---|---|---|
committer | Robert Adams | 2016-11-13 11:19:54 -0800 |
commit | e13ff5a39233fd871e69f9ace23b4559cdfdcb7f (patch) | |
tree | a5e56577bb153a7dd481ee13571fabeb3e716b35 /OpenSim/Region/PhysicsModules/BulletS/BSPrim.cs | |
parent | mantis 8055: fix default value of npc options (diff) | |
download | opensim-SC_OLD-e13ff5a39233fd871e69f9ace23b4559cdfdcb7f.zip opensim-SC_OLD-e13ff5a39233fd871e69f9ace23b4559cdfdcb7f.tar.gz opensim-SC_OLD-e13ff5a39233fd871e69f9ace23b4559cdfdcb7f.tar.bz2 opensim-SC_OLD-e13ff5a39233fd871e69f9ace23b4559cdfdcb7f.tar.xz |
BulletSim: update avatar velocity setting to the new TargetVelocity pattern.
Now PhysicsActor.Velocity.set and PhysicsActor.SetMomentum do the same thing
of setting the instantanious avatar velocity. PhysicsActor.TargetVelocity
sets a velocity target and the movement motor is used to accelerate the'
avatar to that velocity.
Diffstat (limited to 'OpenSim/Region/PhysicsModules/BulletS/BSPrim.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/BulletS/BSPrim.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSPrim.cs b/OpenSim/Region/PhysicsModules/BulletS/BSPrim.cs index 78a617d..db2b9db 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSPrim.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSPrim.cs | |||
@@ -787,17 +787,6 @@ public class BSPrim : BSPhysObject | |||
787 | } | 787 | } |
788 | } | 788 | } |
789 | } | 789 | } |
790 | public override OMV.Vector3 Velocity { | ||
791 | get { return RawVelocity; } | ||
792 | set { | ||
793 | RawVelocity = value; | ||
794 | PhysScene.TaintedObject(LocalID, "BSPrim.setVelocity", delegate() | ||
795 | { | ||
796 | // DetailLog("{0},BSPrim.SetVelocity,taint,vel={1}", LocalID, RawVelocity); | ||
797 | ForceVelocity = RawVelocity; | ||
798 | }); | ||
799 | } | ||
800 | } | ||
801 | public override OMV.Vector3 ForceVelocity { | 790 | public override OMV.Vector3 ForceVelocity { |
802 | get { return RawVelocity; } | 791 | get { return RawVelocity; } |
803 | set { | 792 | set { |