# Rotate game object in collection to absolute north (SOLVED)

**URL:** <https://forum.defold.com/t/rotate-game-object-in-collection-to-absolute-north-solved/3580>\
**Category:** Questions\
**Created:** [December 4, 2016, 3:08pm UTC](https://forum.defold.com/t/rotate-game-object-in-collection-to-absolute-north-solved/3580 "2016-12-04T15:08:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [December 9, 2016, 9:40am UTC](https://forum.defold.com/t/rotate-game-object-in-collection-to-absolute-north-solved/3580/4 "2016-12-09T09:40:01Z")

</div>

I’ve added my code and live demo. My demo uses a root game object that rotates based on mouse movement, a middle game object that constantly rotates around the root object and finally a child game object that is fixed due north regardless of the rotation of it’s parent or the root.

SOURCE: [publicexamples/examples/fixed\_rotation at master · britzl/publicexamples · GitHub](https://github.com/britzl/publicexamples/tree/master/examples/fixed_rotation)  
HTML5: [PublicExamples 0.0](http://britzl.github.io/publicexamples/fixed_rotation/index.html)

---

_[View the full topic](https://forum.defold.com/t/rotate-game-object-in-collection-to-absolute-north-solved/3580)._
