From d2f6d0b52e80ba4d255d483c93ae6ee2b943e9d1 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sun, 23 Apr 2023 17:46:29 -0700 Subject: [PATCH] TODO --- NewHorizons/Components/SizeControllers/CometTailController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NewHorizons/Components/SizeControllers/CometTailController.cs b/NewHorizons/Components/SizeControllers/CometTailController.cs index b6eae82f..736cb42e 100644 --- a/NewHorizons/Components/SizeControllers/CometTailController.cs +++ b/NewHorizons/Components/SizeControllers/CometTailController.cs @@ -40,6 +40,7 @@ namespace NewHorizons.Components.SizeControllers private void UpdateTargetPositions() { // body is null for proxies + // TODO: this will make proxy tails face the real body rather than proxy body (ie wrong). fix properly in a different PR var toPrimary = ((_body ? _body.transform : transform).position - _dustTargetBody.transform.position).normalized; var velocityDirection = (_primaryBody?.GetVelocity() ?? Vector3.zero) - (_body ? _body.GetVelocity() : Vector3.zero); // Accept that this is flipped ok