fix: now hanging on walls of all orientations

This commit is contained in:
2025-06-08 08:58:30 +02:00
parent 55f036f725
commit 38e996abaa
2 changed files with 5 additions and 2 deletions

View File

@ -73,6 +73,7 @@ public partial class WeaponSystem : RigidBody3D
_weaponState.SendEvent("plant");
Freeze = true;
GlobalPosition = _plantLocation;
PlayerDashLocation = _plantLocation + _plantNormal * 0.1f;
LookAt(GlobalTransform.Origin + _plantNormal, Vector3.Up, true);
}