Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by RnD123 · Aug 06, 2016 at 01:59 PM · unity 5itweenoculusvector3.lerpitweenpath

iTween Path and Samsung Gear VR

I'm using iTween Path to move the camera around my scene. It works fine if I play it in Unity or even if I export it as a simple apk file and load on any device, but if I put the phone in the vr device it stops moving, it just stands in one spot while everything else works.

I've tried assigning iTween to other objects and they do not work either. Using Vector3.Lerp works.

What could be the problem? The phone is Samsung Galaxy s6.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hphillip21 · Apr 21, 2017 at 08:54 AM 0
Share

So, I'm having the same problem, except that the solution provided ends up moving my position in the game when my head moves rather than rotating and remaining in it's location.

Am I doing it wrong? Should use something ins$$anonymous$$d of ITween?

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by RnD123 · Aug 06, 2016 at 08:21 PM

This what solved it, taken from unity manuals

The camera transform is overridden with the head-tracked pose. To move or rotate the camera, attach it as a child of another GameObject. This makes it so that all transform changes to the parent of the camera will affect the camera itself. This also applies to moving or rotating the camera using a script.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by ikerion · Aug 17, 2016 at 09:55 AM

Will you please post an example?

I have the same problem I'm using the "Slided" asset, It moves ok on editor, but won't run with Gear VR.

I placed the camera under a new object called "CamRig" but I get the error saying a script is trying to acces the cam on CamRig but it doesn't have a cam attached to it.

I'm also using a Galaxy S6

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RnD123 · Aug 17, 2016 at 10:15 AM 0
Share

You should manipulate the new parent object, camrig in your case, ins$$anonymous$$d of accessing the camera. I'm not sure what slided asset is but if youre transfor$$anonymous$$g position of the parent object the child camera will follow.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

oculus go movement 0 Answers

Gear VR template scene for Unity 5.1+ ? 0 Answers

Checking if canvas world space is visible in CenterEyeAnchor? 0 Answers

iTween for Unity 2019 0 Answers

How to shift Oculus hand avatar? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges