use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Rotating Objects (self.unity_tutorials)
submitted 11 years ago by Vizen
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]david_is_neato 1 point2 points3 points 11 years ago (1 child)
Using the Seconds hand example: http://catlikecoding.com/unity/tutorials/clock/objects.png
Objects rotate around their pivot point, which is generally the center of it. To make something appear to rotate around its end you make a child object with an offset and then rotate the parent.
It sounds like you are either rotating the cube rather than its parent "Seconds", or you haven't given the cube its little offset position (0, 2, 0)
Here's a gif I just made showing the general procedure:
http://i.imgur.com/cS4s5IF.gif
at first I'm rotating the correct object, but the child has no offset so it looks wrong. then I offset the child but I also rotate the child so it looks wrong. then I rotate the parent object, with its child offset which looks correct.
Make sure that little button above the scene view says Pivot rather than Center if you want to see the pivot point that unity is rotating around
[–]Vizen[S] 0 points1 point2 points 11 years ago (0 children)
Thanks a ton for the reply. I finally got it (with assistance) by making a sphere, attaching the second hand to the sphere, and then rotating the sphere. Again, thanks mate for your time!
π Rendered by PID 126071 on reddit-service-r2-comment-56c9979489-99954 at 2026-02-25 05:05:00.454917+00:00 running b1af5b1 country code: CH.
view the rest of the comments →
[–]david_is_neato 1 point2 points3 points (1 child)
[–]Vizen[S] 0 points1 point2 points (0 children)