I have cube and snake that can moving on cube sides. How to rotate cube so that snake everytime is on cameraview? If snake jump on left side turn cube 90degree. But how to detect on which side snake is.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
346 People are following this question.
I need help in rotating cube by 90 degree with swipe in all axis
Problem with halt with rotating on y axis
Having projectile face mouse position
Smooth 90 degree rotation on keypress
AI moving Backwards along path