Commit Graph

4125 Commits

Author SHA1 Message Date
5d07bd853c Pass camera delta time to update active runtime target lock state 2026-04-25 18:05:46 +02:00
14c045546c Require player visibility when resolving runtime target candidates 2026-04-25 18:05:46 +02:00
0e4fbb2480 Add visibility requirement when selecting runtime targets 2026-04-25 18:04:28 +02:00
cddbd0aa74 Improve runtime target selection fallback logic 2026-04-25 18:04:28 +02:00
3d91477d4c Improve runtime target selection by filtering candidates based on camera and player visibility 2026-04-25 18:03:33 +02:00
31b0a5b808 Implement line-of-sight checks for target visibility 2026-04-25 18:03:05 +02:00
447e8213a0 Add constants and state for target occlusion tracking 2026-04-25 18:03:05 +02:00
0026d1521b Add isLineSegmentClear method for checking collision clearance along a line segment 2026-04-25 18:02:12 +02:00
e605999b33 Update unit tests for ThirdPersonNavigationController boundary handling 2026-04-25 17:40:09 +02:00
ae92a8fd26 Adjust camera yaw and pitch upon reaching a boundary in third-person navigation 2026-04-25 17:40:09 +02:00
5c7d0a5e14 Test: Clear active target on manual look boundary 2026-04-25 17:35:09 +02:00
a93d690af0 Update unit tests for target look boundary handling to reflect non-snapping behavior 2026-04-25 17:34:57 +02:00
82109c19d1 Remove manual reset of look offsets when target look boundary is reached 2026-04-25 17:34:57 +02:00
bf31cf6a2f Refine target look boundary handling to clear active target and return false 2026-04-25 17:34:57 +02:00
a0f6b98678 Add unit test for target boundary detection in third-person navigation controller 2026-04-25 17:27:45 +02:00
793b675e74 Refactor target look offset calculation using applyTargetLookOffsetDelta 2026-04-25 17:27:21 +02:00
98610c53d3 Improve target look offset limits and add boundary detection logic 2026-04-25 17:27:00 +02:00
d2f2b38f34 Implement automatic retargeting or clearing of active runtime target 2026-04-25 17:26:39 +02:00
d9f724c45d Add handleRuntimeTargetLookBoundaryReached to context 2026-04-25 17:26:39 +02:00
429209b61a Adjust precision for pitch radians assertion in ThirdPersonNavigationController test 2026-04-25 17:21:28 +02:00
9eb58252d8 Update test assertion for ThirdPersonNavigationController pitch radians 2026-04-25 17:21:27 +02:00
b2a69948eb Update unit tests for third-person navigation pitch blending 2026-04-25 17:18:39 +02:00
cdf38bace7 Improve pitch damping when target assist is active 2026-04-25 17:18:39 +02:00
e92143421f Update unit test for ThirdPersonNavigationController pitch handling 2026-04-25 17:15:02 +02:00
24269c9db7 Add unit test to ensure pitch reset when target assist activates 2026-04-25 17:13:24 +02:00
c3c9fb745c Initialize default pitch radians in ThirdPersonNavigationController 2026-04-25 17:13:24 +02:00
688a2f3db6 Implement damped yaw rotation for smooth third-person camera target assist 2026-04-25 17:10:55 +02:00
fa18467088 Add unit test for target direction initialization in ThirdPersonNavigationController 2026-04-25 17:09:36 +02:00
66b33f4484 Simplify camera yaw calculation by setting yaw directly to target value, removing dampening logic 2026-04-25 17:07:51 +02:00
de88f612f8 Add test case for target assist fading when camera collision occurs 2026-04-25 17:02:33 +02:00
a883a2e947 Apply vertical target assist scaling based on camera distance collision 2026-04-25 17:02:23 +02:00
3fe78937e3 Add collision fade constants and smoothStep utility function 2026-04-25 17:02:23 +02:00
62bf25cfe6 Update imports in third-person navigation controller unit tests 2026-04-25 16:56:41 +02:00
e0c1ce76ca Add unit test verifying vertical camera aim adjustment with target assist 2026-04-25 16:54:51 +02:00
c04ee2a751 Adjust lookAtVector calculation to incorporate target assist vertical offset 2026-04-25 16:54:51 +02:00
d5478df76e Implement vertical look assistance calculation in navigation controller 2026-04-25 16:54:15 +02:00
97ede82de7 Initialize constants and state for vertical look assistance 2026-04-25 16:54:15 +02:00
c55606f0b2 Test: Prevent auto-retargeting between close border targets 2026-04-25 16:49:05 +02:00
dc819fd1ba Improve target candidate resolution with player distance filtering 2026-04-25 16:48:43 +02:00
39fc5036e1 Update collision resolution test function to validate positive radius 2026-04-25 16:42:55 +02:00
74da142d65 Remove unused code block from RuntimeHost definition 2026-04-25 16:42:55 +02:00
92608ae395 Update test function signature by removing radius parameter 2026-04-25 16:42:54 +02:00
60d2b3c447 Improve distance assertion for runtime target candidates in tests 2026-04-25 16:40:27 +02:00
1f7464bd3a Refactor and expand RuntimeHost unit tests for target selection and retargeting logic 2026-04-25 16:39:49 +02:00
f1825c32fb Refactor runtime target proposal to prioritize screen-center candidates 2026-04-25 16:39:01 +02:00
5ce0f1f9cf Fix input X sign in RuntimeHost and add test for temporary look-on input in navigation controller 2026-04-25 16:32:49 +02:00
e55db834ab Feat: Add 'Above' NPC entity and related interaction tests 2026-04-25 16:32:34 +02:00
df0d577625 Update look input handling to accept directional screen-space coordinates and return detailed state 2026-04-25 16:31:20 +02:00
b4a533fe01 Update target look input handling to use full movement data 2026-04-25 16:30:29 +02:00
0601b46f8c Refactor pointer input handling and update target look logic in ThirdPersonNavigationController 2026-04-25 16:30:08 +02:00