Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8289883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:37:43+00:00 2026-06-08T12:37:43+00:00

I have a group of objects [ circle and some lines] in a group.

  • 0

I have a group of objects [ circle and some lines] in a group. i wish to rotate the entire group by an angle[say 90] where the rotation being on the center of the
circle. Yet when rotating the group it doesn’t rotate on the offset it set to be the center of the circle.

Any help or comments will be appreciated thanks!.

@JohnWiseman as requested here is my code.

var x = petridishGroup.getChildren()[0].getX();
var y = petridishGroup.getChildren()[0].getY();

var offX = x + petridishGroup.getChildren()[0].getRadius().x;
var offY = y + petridishGroup.getChildren()[0].getRadius().y;

petridishGroup.setOffset(offX, offY);
petridishGroup.setRotation(45);
gamePlayLayer.draw();
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:37:44+00:00Added an answer on June 8, 2026 at 12:37 pm

    Solution to the problem is to place the circle at 0,0 which will become the center of the circle and then rotate the group.

    Offset will be 0,0 which will be rather easier to keep track of the offset and the rotation offset

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say you have a group of objects you're creating to handle some XML parsing
So I have a form with some tab objects, group objects and possible a
I have an MSI-packaged application that is being deployed via Group Policy Objects (GPO)
In my app, I have a group of 3d objects and they're exposed to
We have a group of objects, let's call them Players. We can traverse through
I have an array of objects (data) data[0].image = image1.jpg; data[0].name = some name;
I have a group of objects which I am creating a class for that
I have 2 Hibernate objects Group and User which are related with a ManyToMany
I have a group of 60 objects, each of which i want to have
Say I have a group of classes which generate documents from templates. For example...

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.