mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
add AvatarJump to phsycis engines. This is just a push in Z direction, Still needs scaling so engines to match. This new scaling is needed so does not impact old push ones
This commit is contained in:
@@ -806,9 +806,13 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
//m_lastUpdateSent = false;
|
||||
}
|
||||
|
||||
public override void AvatarJump(float forceZ)
|
||||
{
|
||||
AddChange(changes.Force, new Vector3(0, 0, forceZ * m_sceneInverseTimeStep));
|
||||
}
|
||||
|
||||
public override void AddAngularForce(Vector3 force, bool pushforce)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SetMomentum(Vector3 momentum)
|
||||
|
||||
Reference in New Issue
Block a user