I think 1.0f makes a better offset than 1.2f for basic physics (less floating,
not too much crouching). I think that we'll have to rethink what the terrain resolution is down the road, as we don't really have enough sample data to actually get people placed right on the land.afrisby
parent
26a67d998c
commit
26eebf6b32
|
@ -124,7 +124,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
|
|||
actor.Position.X = 255.9F;
|
||||
}
|
||||
|
||||
float height = _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X] + 1.2f;
|
||||
float height = _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X] + 1.0f;
|
||||
if (actor.Flying)
|
||||
{
|
||||
if (actor.Position.Z + (actor.Velocity.Z * timeStep) < _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X] + 2)
|
||||
|
|
Loading…
Reference in New Issue