Excalibur icon indicating copy to clipboard operation
Excalibur copied to clipboard

lastWorldPos should update when camera moves under pointer

Open eonarheim opened this issue 1 year ago • 1 comments

Steps to Reproduce

Move camera underneath a non-moving pointer, check the lastWorldPos is not updated.

Expected Result

lastWorldPos should match the reality of the current pointer, camera and game world.

Actual Result

lastWorldPos is only updated on pointer move

Environment

  • browsers and versions:
  • operating system:
  • Excalibur versions:
  • (anything else that may be relevant)

Current Workaround

Use pointer.lastScreenPos with screen.screenToWorldCoordinates. https://excaliburjs.com/api/class/Screen/#screenToWorldCoordinates

eonarheim avatar May 27 '24 22:05 eonarheim

This issue hasn't had any recent activity lately and is being marked as stale automatically.

github-actions[bot] avatar Jul 27 '24 00:07 github-actions[bot]