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

Support applying force at point and automatically clearing external force and torque #58

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

Jondolf
Copy link
Owner

@Jondolf Jondolf commented Jul 7, 2023

Expands the ExternalForce and ExternalTorque APIs by adding a persistence property for controlling if a force should persist across frames and by adding several methods. Forces can now be applied at a given point using apply_at_point, which will also apply torque. The documentation of these components is also much better.

- Added `persistence` property to allow clearing forces manually/automatically
- Forces can now be applied at a given point, which will also apply torque
- Added many methods for `ExternalForce` and `ExternalTorque`
- Improved docs
@Jondolf Jondolf added the C-Enhancement New feature or request label Jul 7, 2023
@Jondolf Jondolf changed the title Support applying force at point and allow automatically clearing external force and torque Support applying force at point and automatically clearing external force and torque Jul 7, 2023
@Jondolf Jondolf merged commit c407b00 into main Jul 7, 2023
3 checks passed
@Jondolf Jondolf deleted the improved-external-force branch July 7, 2023 18:41
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