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

Ensure that rotation is smoothed when SmoothLerpToTarget is True. #1

Merged
merged 1 commit into from
Feb 16, 2016
Merged

Conversation

julenka
Copy link
Contributor

@julenka julenka commented Feb 15, 2016

When SmoothLerpToTarget is true, the target value that we are
interpolating to should be lerpTargetLocalRotation. For example, on line
320 we compute angleDiff assuming the new angle we are going to is
lerpTargetLocalRotation.

However, when performing the actual Quaternion.Slerp computation, we are
currently setting the target as targetRotation. Fix this by setting the
target in the Quaternion.Slerp call to lerpTargetRotation and
lerpTargetLocalRotation.

When SmoothLerpToTarget is true, the target value that we are
interpolating to should be lerpTargetLocalRotation. For example, on line
320 we compute angleDiff assuming the new angle we are going to is
lerpTargetLocalRotation.

However, when performing the actual Quaternion.Slerp computation, we are
currently setting the target as targetRotation. Fix this by setting the
target in the Quaternion.Slerp call to lerpTargetRotation and
lerpTargetLocalRotation.
NeerajW added a commit that referenced this pull request Feb 16, 2016
Ensure that rotation is smoothed when SmoothLerpToTarget is True.
@NeerajW NeerajW merged commit 36070fa into microsoft:master Feb 16, 2016
NeerajW pushed a commit that referenced this pull request Sep 26, 2016
Merge latest from MSFT-master
NeerajW pushed a commit that referenced this pull request Oct 17, 2016
NeerajW pushed a commit that referenced this pull request Oct 24, 2016
darax pushed a commit that referenced this pull request Oct 27, 2016
spatial sound - Added spread,spatial,reverb curve to UAudioManager
keveleigh pushed a commit that referenced this pull request Jul 11, 2017
NeerajW pushed a commit that referenced this pull request Jul 19, 2017
StephenHodgson pushed a commit that referenced this pull request Sep 26, 2017
StephenHodgson pushed a commit that referenced this pull request Oct 6, 2017
Zod- pushed a commit to Zod-/MixedRealityToolkit-Unity that referenced this pull request Oct 10, 2017
Minor fixes so tests will run again
StephenHodgson pushed a commit that referenced this pull request Oct 17, 2017
keveleigh pushed a commit that referenced this pull request Dec 11, 2017
Removing Editor detection in favor of Unity APIs
NeerajW pushed a commit that referenced this pull request Feb 13, 2018
…vement

Updating Singleton PR with namespace changes
cre8ivepark pushed a commit that referenced this pull request Mar 2, 2018
Add comments and minor code cleanup to TwoHandManipulatable.cs
david-c-kline pushed a commit that referenced this pull request Mar 22, 2018
SimonDarksideJ pushed a commit that referenced this pull request Apr 9, 2018
TapToPlace: extends the usage of collider to place objects (#1854)
david-c-kline pushed a commit that referenced this pull request May 7, 2018
Updated Bit ops in Two Handed Manipulatable.
keveleigh pushed a commit that referenced this pull request Aug 6, 2018
keveleigh pushed a commit that referenced this pull request Aug 24, 2018
Properly initialize the field value and set the setting back to the profile
SimonDarksideJ pushed a commit that referenced this pull request Sep 10, 2018
Some CRs for your pull request.
keveleigh pushed a commit that referenced this pull request Sep 21, 2018
jessemcculloch pushed a commit that referenced this pull request Oct 22, 2018
cre8ivepark referenced this pull request in johnppella/MixedRealityToolkit-Unity Oct 31, 2018
StephenHodgson pushed a commit that referenced this pull request Nov 12, 2018
chrisfromwork pushed a commit that referenced this pull request Jun 18, 2019
Fix mobile camera transform + marker visual & marker visual detector localizers
wiwei added a commit that referenced this pull request Jul 29, 2019
…ycast functionality.

#4917

This change adds an extension point to the IMixedRealityRaycastProvider to allow for customizing how the GraphicsRaycast works. This allows for clients to customize the priority order of raycast results.

The goal here was to make it possible for clients to change the order of RaycastResultComparer::Comparers, so the changes involved:

1) Adding the GraphicsRaycast function to IMixedRealityRaycastProvider.
2) Updating RaycastResultComparer's Comparers comparison functions so that they can be referenced in subclasses.
3) Updating the default implementation to do exactly what it does today.

Note that in theory it would be possible to accomplish this by just doing #1 (this would require callers to do a bunch of duplicated work, so I opted to do #2-#3 as well)
thalbern pushed a commit that referenced this pull request Dec 3, 2019
Update to current Mrtk development
keveleigh pushed a commit that referenced this pull request Dec 5, 2019
…DataProvider

Updates for test/doc failures in "Generic Service in DataProvider"
provencher referenced this pull request in provencher/MixedRealityToolkit-Unity Feb 15, 2020
david-c-kline pushed a commit that referenced this pull request Apr 2, 2020
Dialog updates - design update to match HoloLens 2 shell. Example scene updates.
keveleigh pushed a commit that referenced this pull request Nov 10, 2020
Cameron-Micka added a commit to Cameron-Micka/MixedRealityToolkit-Unity that referenced this pull request Jun 29, 2021
…: Incompatible min precision type for operand microsoft#1 of opcode microsoft#29 (counts are 1-based). Expected int or uint. (on gles)

- Removing hard to read IF step macro.
Cameron-Micka added a commit that referenced this pull request Jun 30, 2021
- Fixing error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Incompatible min precision type for operand #1 of opcode #29 (counts are 1-based). Expected int or uint. (on gles)
- Removing hard to read IF step macro.
- Bumping the sentinel.
keveleigh pushed a commit that referenced this pull request Dec 9, 2021
- Fixing error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Incompatible min precision type for operand #1 of opcode #29 (counts are 1-based). Expected int or uint. (on gles)
- Removing hard to read IF step macro.
- Bumping the sentinel.
drusk-unity pushed a commit to drusk-unity/MixedRealityToolkit-Unity that referenced this pull request Jun 23, 2023
drusk-unity pushed a commit to drusk-unity/MixedRealityToolkit-Unity that referenced this pull request Jun 26, 2023
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.

None yet

2 participants