Change the stair fudge factor so steps of 0.5m can be climbled to match inworldz claims and SL's realities

This commit is contained in:
Melanie
2012-07-27 03:24:45 +02:00
parent 0993af0871
commit be22e3599c

View File

@@ -1027,7 +1027,7 @@ namespace OpenSim.Region.Physics.OdePlugin
{
d.AABB aabb;
d.GeomGetAABB(g2, out aabb);
float tmp = vtmp.Z - sz * .25f;
float tmp = vtmp.Z - sz * .18f;
if (aabb.MaxZ < tmp)
{
@@ -1057,7 +1057,7 @@ namespace OpenSim.Region.Physics.OdePlugin
{
d.AABB aabb;
d.GeomGetAABB(g1, out aabb);
float tmp = vtmp.Z - sz * .25f;
float tmp = vtmp.Z - sz * .18f;
if (aabb.MaxZ < tmp)
{