Add relative cursor aiming mode #74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/relative-cursor-aiming"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
cursor_offset(world-space vector from player to cursor); player movement leaves it unchanged, so aim direction stays constant while movingCursorLayer(CanvasLayer layer=10) in the gameplay scene; projected from player screen pos toward virtual world pos, clamped to screen edge when out of boundscursor_offsetclamped to screen diagonal in world units so the cursor can reach any screen pointget_global_mouse_position()if no cursor node is presentTest plan