cosmetics

This commit is contained in:
UbitUmarov
2025-06-20 04:38:51 +01:00
parent 157de21332
commit e1b5f3ad81
7 changed files with 25 additions and 14 deletions

View File

@@ -368,7 +368,9 @@ namespace OpenSim.Region.PhysicsModule.BulletS
// The step is presumed to be more or less vertical. Thus the Z component should
// be nearly horizontal.
OMV.Vector3 directionFacing = OMV.Vector3.UnitX * m_controllingPrim.RawOrientation;
OMV.Vector3 touchNormal = OMV.Vector3.Normalize(kvp.Value.SurfaceNormal);
OMV.Vector3 touchNormal = kvp.Value.SurfaceNormal;
touchNormal.Normalize();
const float PIOver2 = 1.571f; // Used to make unit vector axis into approx radian angles
// m_physicsScene.DetailLog("{0},BSCharacter.WalkUpStairs,avNormal={1},colNormal={2},diff={3}",
// m_controllingPrim.LocalID, directionFacing, touchNormal,