forked from ExtendRealityLtd/VRTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Locomotion): get correct body physics collider in object control
The ObjectControlAction scripts were not always getting the correct BodyPhysics collider if no BodyPhysics was available as they were just looking for the child CapsuleCollider and this could exist in any of the CameraRig children such as on the Controller Objects. This fix ensures it uses the BodyPhysics script and get the body collider to use in the ObjectControlAction scripts.
- Loading branch information
1 parent
62aa1e0
commit d4ac472
Showing
3 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters