Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

feat: RotationContraints component #66

Merged
merged 11 commits into from
Mar 9, 2021
Merged

Conversation

jcornaz
Copy link
Owner

@jcornaz jcornaz commented Mar 8, 2021

Allow to lock rotation around axes.

Resolves #53

Remaining tasks

  • Provide the following constructors: lock(), allow(), allow_around_x_only(), allow_around_y_only() and allow_around_z_only()
  • Add tests (in mass properties, the invere angular intertia should be 0 if rotation is locked)
  • Update the mass properties if the constraint change after rigid-body creation

@jcornaz jcornaz force-pushed the feature/lock-rotation-axes branch from 3bb189d to 06b6ecf Compare March 8, 2021 22:11
@jcornaz jcornaz marked this pull request as ready for review March 9, 2021 21:04
@jcornaz jcornaz enabled auto-merge (squash) March 9, 2021 21:08
@jcornaz jcornaz merged commit 2686a5d into main Mar 9, 2021
@jcornaz jcornaz deleted the feature/lock-rotation-axes branch March 9, 2021 21:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to lock rotation axes
1 participant