Skip to content

Use correct trace for g_get_target_position origin and direction#227

Merged
themrdemonized merged 1 commit intothemrdemonized:landerfrom
Lander-Modding:target-pos-fix
May 15, 2025
Merged

Use correct trace for g_get_target_position origin and direction#227
themrdemonized merged 1 commit intothemrdemonized:landerfrom
Lander-Modding:target-pos-fix

Conversation

@ProfLander
Copy link
Contributor

g_get_target_position was giving incorrect results due to using the camera's position and direction rather than that of the respective trace; this adds a new get_pick utility static, uses its data in the appropriate place, and reimplements get_rq in terms of it.

@themrdemonized themrdemonized changed the base branch from all-in-one-vs2022-wpo to lander May 15, 2025 05:04
@themrdemonized themrdemonized merged commit 298c224 into themrdemonized:lander May 15, 2025
9 of 10 checks passed
@ProfLander ProfLander deleted the target-pos-fix branch May 24, 2025 06:11
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.

2 participants