Skip to content

[game] Adjust navigateTo distance to respect perspace - #340

Open
modawan wants to merge 1 commit into
masterfrom
navigate-to
Open

[game] Adjust navigateTo distance to respect perspace#340
modawan wants to merge 1 commit into
masterfrom
navigate-to

Conversation

@modawan

@modawan modawan commented Aug 29, 2026

Copy link
Copy Markdown
Owner

navigateTo function does not complete until it reaches the requested
distance. When that distance is smaller than a sum of perspaces (+0.1
eps), collision detection rejects attempts to move closer.

The patch adds navigateToObject function to ensure that the required
distance is enough to reach the target object.

Fixes the assassin droid on korr_m38aa and the rancor on tar_m05ab.
In both cases actions could not complete, because distance was too small.

navigateTo function does not complete until it reaches the requested
distance. When that distance is smaller than a sum of perspaces (+0.1
eps), collision detection rejects attempts to move closer.

The patch adds navigateToObject function to ensure that the required
distance is enough to reach the target object.

Fixes the assassin droid on korr_m38aa and the rancor on tar_m05ab.
In both cases actions could not complete, because distance was too small.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant