1128 Posted June 25, 2019 Share Posted June 25, 2019 unity - how to move object based on head movement Link to comment Share on other sites More sharing options...
HackPerception Posted June 25, 2019 Share Posted June 25, 2019 - Can you please provide some additional context as to what effect you're trying to achieve with your mechanic? It sounds like you're trying to move an object in your level - can you please provide additional information about what exactly you're trying to achieve? Are you moving the object to keep it in the center of the player's FOV or are you actually trying to navigate the object in all 3 axis across your level? At a super high level, you can assign the object as a child of the camera which should keep the object in the center of the FOV as you move your head around. You can do this at runtime. More complex interactions require more complex scripts - if you provide us with additional context about your desired mechanic we may be able to provide guidance on how to best implement it. Cheers, Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now