Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add current_position getter for RigidBodyQueryItem #120

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

Jondolf
Copy link
Owner

@Jondolf Jondolf commented Aug 9, 2023

Adds a current_position getter method for RigidBodyQueryItem. This computes the sum of Position and AccumulatedTranslation, which is more convenient and avoids issues where you forget to add the accumulated translation in e.g. custom constraints.

@Jondolf Jondolf added the C-Enhancement New feature or request label Aug 9, 2023
@Jondolf Jondolf merged commit 4edcba8 into main Aug 9, 2023
3 checks passed
@Jondolf Jondolf deleted the rb-query-position-getter branch August 9, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant