mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
missing file and a bit more wiring
This commit is contained in:
@@ -5809,18 +5809,25 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public float GetMass()
|
||||
{
|
||||
PhysicsActor pa = PhysicsActor;
|
||||
|
||||
if (pa != null)
|
||||
return pa.Mass;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
internal void Jump(float impulseZ)
|
||||
{
|
||||
if (PhysicsActor != null)
|
||||
{
|
||||
PhysicsActor.AvatarJump(impulseZ);
|
||||
}
|
||||
}
|
||||
|
||||
internal void PushForce(Vector3 impulse)
|
||||
{
|
||||
if (PhysicsActor != null)
|
||||
{
|
||||
PhysicsActor.AddForce(impulse,true);
|
||||
PhysicsActor.AddForce(impulse, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ namespace OpenSim.Region.PhysicsModule.ODE
|
||||
private uint m_regionWidth = Constants.RegionSize;
|
||||
private uint m_regionHeight = Constants.RegionSize;
|
||||
|
||||
private float ODE_STEPSIZE = 0.0178f;
|
||||
public float ODE_STEPSIZE = 0.0178f;
|
||||
private float metersInSpace = 29.9f;
|
||||
private float m_timeDilation = 1.0f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user