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

avinationmerge
Melanie 2012-07-27 03:24:45 +02:00
parent 0993af0871
commit be22e3599c
1 changed files with 2 additions and 2 deletions

View File

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