mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
cosmetics
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user