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 6958413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:08:11+00:00 2026-05-27T15:08:11+00:00

Is there a simple way to select and move (rotate, pan, zoom) multiple shapes

  • 0

Is there a simple way to select and move (rotate, pan, zoom) multiple shapes in Java3D simultaneously? I’ve seen the examples where you can pick (click) a single shape and drag it, but I haven’t been able to find an easy way to select and move multiple shapes.

What I want to be able to do is:

  • Have many unselected shapes on the screen
  • Select one or more shapes (by individually clicking or dragging a box)
  • Move only the selected shapes with a mouse listener
  • When the shapes are unselected, they should stay where they are and stop moving
  • When new shapes are added, they should stay where they are and start moving

My initial idea was to have 2 Branch Groups “Selected” and “Unselected”. The Selected BranchGroup would have a parent TransformGroup that is attached to the root, the Unselected BranchGroup would be attached directly to the root. As items were selected (which I can do with a PickCanvas) they would be removed from the Unselected BG and put in the Selected BG.

The main problem with this is that the shapes jump when they are selected or unselected. This is because they are taking on the transform of the group they are going to.

I feel like there is probably some easier way to do this, maybe leveraging something that is built into Java3D.

  • 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-05-27T15:08:11+00:00Added an answer on May 27, 2026 at 3:08 pm

    The best way I figured out how to do this was to use the 2 Branch Group method I suggested in the initial question.

    You create 2 Branch Groups, one for selected nodes and one for unselected nodes. When you move nodes from one group to the other, you must translate the individual nodes so they remain at their current position rather than jumping to the translation of the new branch group they are joining.

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

Sidebar

Related Questions

Using JQuery, is there a simple way to select the text immediately after a
are there a simple way to select all record that are between two date.
Is there a simple way to select all the nodes above a certain level?
Is there a very simple way to select all H2 tags on the page,
is there a simple way to just output each record in a select statement
Is there a simple way of getting a HTML textarea and an input type=text
Is there a simple way to cache MySQL queries in PHP or failing that,
Is there a simple way in .NET to quickly get the current protocol, host,
Is there any simple way to programatically colorize images in .NET? Basically we have
I there a simple way to append a new field to an existing open

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.