mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
need to process all mv flags for now
This commit is contained in:
@@ -2751,8 +2751,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
DCFlagKeyPressed = true;
|
||||
MovementFlag |= currflags;
|
||||
update_movementflag |= (currflags ^ oldflags) != 0;
|
||||
//update_movementflag |= currflags != 0;
|
||||
//update_movementflag |= (currflags ^ oldflags) != 0;
|
||||
update_movementflag = true;
|
||||
|
||||
if ((currflags & CONTROL_FLAG_NUDGE_MASK) != 0)
|
||||
{
|
||||
|
||||
@@ -686,9 +686,9 @@ namespace OpenSim.Region.PhysicsModule.BulletS
|
||||
set { _PIDTau = value; }
|
||||
}
|
||||
|
||||
public override void AvatarJump(float forceZ)
|
||||
public override void AvatarJump(float impulseZ)
|
||||
{
|
||||
AddForce(false, new OMV.Vector3(0, 0, 0.22f * forceZ / PhysScene.m_fixedTimeStep));
|
||||
AddForce(false, new OMV.Vector3(0, 0, 0.22f * impulseZ / PhysScene.m_fixedTimeStep));
|
||||
}
|
||||
|
||||
public override void AddForce(OMV.Vector3 force, bool pushforce)
|
||||
|
||||
@@ -806,9 +806,9 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
//m_lastUpdateSent = false;
|
||||
}
|
||||
|
||||
public override void AvatarJump(float forceZ)
|
||||
public override void AvatarJump(float impulseZ)
|
||||
{
|
||||
AddChange(changes.Force, new Vector3(0, 0, forceZ * m_sceneInverseTimeStep));
|
||||
AddChange(changes.Force, new Vector3(0, 0, impulseZ * m_sceneInverseTimeStep));
|
||||
}
|
||||
|
||||
public override void AddAngularForce(Vector3 force, bool pushforce)
|
||||
|
||||
Reference in New Issue
Block a user