Results 1 to 2 of 2
  1. #1
    Himanshu23 is offline Member
    Join Date
    Nov 2010
    Rep Power

    Lightbulb java 3D mouse Rotation

    i am making a game in java 3d similar to counter strike,i need to rotate the map with the movement of mouse.The center of rotation should be always at 0 coordinate.the whole map is a transform group and it rotates about its center.But want to rotate about the 0 can i do it for mouse moved.
    thank u.

  2. #2
    Jodokus's Avatar
    Jodokus is offline Senior Member
    Join Date
    Jan 2011
    Amsterdam, the Netherlands
    Rep Power


    Try to make an SSCEE (Small Self Contained Compiling Example), showing what you have until now, and post that.
    I just helped another guy,, what he posted is almost a SSCEE, you can also experiment with that (the ball is rotated by the mouse, try to make it rotate at any location (what it does by the way)).
    Then explain what you didn't get working.
    Last edited by Jodokus; 07-04-2011 at 10:45 PM. Reason: spelling
    No bug ever had to calculate its fitnessfunction.

Similar Threads

  1. Java or Excel? Lifeguard rotation
    By ThePwnageKing in forum New To Java
    Replies: 3
    Last Post: 05-18-2011, 07:59 AM
  2. Java - Image Rotation - How to use this code?
    By cvillejin in forum New To Java
    Replies: 1
    Last Post: 04-03-2011, 08:38 PM
  3. StringList rotation
    By aquafoam in forum New To Java
    Replies: 1
    Last Post: 04-20-2010, 09:02 AM
  4. Mouse Listener for mouse floating over object?
    By Krooger in forum AWT / Swing
    Replies: 1
    Last Post: 11-18-2009, 05:34 AM
  5. Rotation in java 3D
    By émilie- in forum Java Applets
    Replies: 0
    Last Post: 02-13-2008, 11:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts