camera incline on wall run and normal run
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 21s
Create tag and build when new code gets to main / Export (push) Successful in 6m17s

This commit is contained in:
2025-12-08 12:23:36 +01:00
parent fabafbb35b
commit 2ff8cc74cc
4 changed files with 62 additions and 10 deletions

View File

@@ -33,6 +33,11 @@ public partial class MantleSystem: Node3D
{
return Option<Vector3>.None;
}
if (_wallInFrontCast3D.GetCollisionNormal(0).Y > 0.8f)
{
GD.Print(_wallInFrontCast3D.GetCollisionNormal(0).Y);
return Option<Vector3>.None;
}
var collisionPoint = _wallInFrontCast3D.GetCollisionPoint(0);
var collisionNormal = _wallInFrontCast3D.GetCollisionNormal(0);