A Fuse Powered Company

Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to rotate a huge group object?
Started by d.mach Jul 01 2014 07:58 AM

2 replies to this topic
groups graphics 2.0 rotate rotation
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Pro
  • PipPipPipPipPipPip
  • 243 posts
  • Jedi

I encountered some problems (Graphics 2.0) as I wanted to rotate a huge group object with some child objects in it and I hope someone already has a solution on how this can be done right...

 

I have a small cloud image for a game screen. At the bottom of the screen you can see the top of a circle image. Now I want to rotate the cloud around the center of the huge circle image. The circle image top can be seen but the most part of the circle is off the screen. How can I rotate a group containing the cloud image around the center of the circle image?

 

Here is a sketch:

 

cloud-movement.png

 

Any help welcome!

 

Thank you!

 

Daniela

 

 

Attached Files



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Enterprise
  • PipPipPipPipPipPip
  • 759 posts
  • Jedi

Hi.  Please take a look at this: https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2014/06/rotatingWorldNoPhysics.zip

 

It may help.  However, this won't help much if you need physical bodies to rotate about this 'planet'.  That requires a very different approach.

 

-Ed

 

 

Fixed link to code: https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2014/06/rotatingWorldNoPhysics.zip


Edited by roaminggamer, 19 July 2014 - 09:24 AM.


[TOPIC: post.html]
#3

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Pro
  • PipPipPipPipPipPip
  • 243 posts
  • Jedi

Wow. Thank you very much for your fast reply and your help! Much appreciated!

 

I will look into the code asap!

 

Thanks again!

 

Best,

 

Daniela




[topic_controls]
[/topic_controls]



Also tagged with one or more of these keywords: groups, graphics 2.0, rotate, rotation