mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user