gd,ld: some LD and some bug fixing that didn't fix the bugs
This commit is contained in:
@ -57,7 +57,7 @@ public partial class MantleSystem: Node3D
|
||||
var shapeCastStartLocation = horizontalEndLocation + Vector3.Up * MantleHeightCastStart;
|
||||
|
||||
_mantleCast3D.SetGlobalPosition(shapeCastStartLocation);
|
||||
var targetLocation = Vector3.Down * MantleHeightCastStart + Vector3.Up * MaxStepHeight;
|
||||
var targetLocation = Vector3.Down * MantleHeightCastStart;
|
||||
_mantleCast3D.SetTargetPosition(targetLocation);
|
||||
|
||||
if (_mantleCast3D.IsColliding() && _mantleCast3D.GetCollisionNormal(0).Y > 0.9f)
|
||||
|
Reference in New Issue
Block a user