throwing weapon back on

This commit is contained in:
2025-09-12 14:54:08 +02:00
parent 49ba007613
commit e6cdb26ee0
4 changed files with 129 additions and 217 deletions

View File

@ -54,7 +54,7 @@ public partial class WeaponSystem : RigidBody3D
PlantLocation = collisionLocation;
PlantNormal = collisionNormal;
LookAt(end);
var tween = _tweenQueueSystem.TweenToLocation(new TweenQueueSystem.TweenInputs(end, StraightThrowDuration));
if (hasHit)
tween.Finished += PlantWeaponInWall;