 Help! Help! How can I locate mouse position when camera is moving .. 

GSAnimatorGSAnimator Member Posts: 312
edited March 2012 in Working with GS (Mac)
A big question .. I made a ball moving in the scene every time when my mouse is clicked the ball shoot a bullet to the mouse direction

I use ball to control camera when ball is moving the camera will be following But there is a problem I found that the mouse position always relative to be inside camera :-?

So how can I locate what exactly mouse position is ??

I really appreciate if anyone who can help !!

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You have to build in an offset expression based on the camera origin.

    Head over to the YouTube cookbook and search for offset. There is a video that explains it for you. Sorry I'm inmy phone so I can't get you a link right now.
  • GSAnimatorGSAnimator Member Posts: 312
    Thanks!! I got it
Sign In or Register to comment.