-
Notifications
You must be signed in to change notification settings - Fork 113
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
Adding Rigidbody MovementType to ObjectManipulator #526
Conversation
e48b0e9
to
2a8a5c1
Compare
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the change. Just some minor requests
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Outdated
Show resolved
Hide resolved
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Outdated
Show resolved
Hide resolved
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Show resolved
Hide resolved
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Outdated
Show resolved
Hide resolved
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Outdated
Show resolved
Hide resolved
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Show resolved
Hide resolved
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Outdated
Show resolved
Hide resolved
Thanks for the review @AMollis! Have a couple of fires internally, but will update and respond soon as I can. |
6739b5e
to
60b4369
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates. Small tooltip request
org.mixedrealitytoolkit.spatialmanipulation/ObjectManipulator/ObjectManipulator.cs
Show resolved
Hide resolved
* Added XRBaseInteractable.MovementType to ObjectManipulator so devs can specify the movement type of the rigid body during manipulation. * Observes XRBaseInteractor.selectedInteractableMovementTypeOverride
032b08f
to
f39b34a
Compare
This adds XRI's XRBaseInteractable.MovementType to ObjectManipulator so devs can specify the movement type of the rigid body during manipulation.
Currently the behavior always forces non-kinematic "Velocity Tracking" when a rigid body is attached, setting velocity and angular velocity to move the rigid body. This would allow the dev to specify other types of movement, like kinematic, as is provided in XRI. This also observes the XRBaseInteractor.selectedInteractableMovementTypeOverride when an interactor overrides the movement type.
Resolves: #532
Related to being more compatible with XRI #67