opengl move space ship

  • (2 Pages)
  • +
  • 1
  • 2

25 Replies - 1100 Views - Last Post: 06 January 2018 - 04:25 PM Rate Topic: -----

#16 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13748
  • View blog
  • Posts: 54,903
  • Joined: 12-June 08

Re: opengl move space ship

Posted 19 November 2017 - 04:05 PM

Post #10.
Was This Post Helpful? 0
  • +
  • -

#17 pbivens85  Icon User is offline

  • D.I.C Regular

Reputation: -8
  • View blog
  • Posts: 338
  • Joined: 22-October 13

Re: opengl move space ship

Posted 19 November 2017 - 05:03 PM

well I have computed the center of the square that bounds my space ship. the upper left coordinate is (-0.75,1.0) and the lower right is (0.75,-0.5) then the center point is (-0.75+0.75)/2 is 0.0 and (1.0-0.5)/2 is 0.25. the first is the X coordinate and the second is the Y coordinate.
Was This Post Helpful? 0
  • +
  • -

#18 pbivens85  Icon User is offline

  • D.I.C Regular

Reputation: -8
  • View blog
  • Posts: 338
  • Joined: 22-October 13

Re: opengl move space ship

Posted 19 November 2017 - 06:18 PM

I redrew my ship. my center X is (-0.75+0.75)/2 = 0.0 and center Y (0.75-0.75)/2 = 0.0. therefore the center is at the origin (0,0).
Was This Post Helpful? 0
  • +
  • -

#19 pbivens85  Icon User is offline

  • D.I.C Regular

Reputation: -8
  • View blog
  • Posts: 338
  • Joined: 22-October 13

Re: opengl move space ship

Posted 20 November 2017 - 06:22 PM

I have found the center of the square, I am unsure how to proceed further.
Was This Post Helpful? -1
  • +
  • -

#20 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13748
  • View blog
  • Posts: 54,903
  • Joined: 12-June 08

Re: opengl move space ship

Posted 21 November 2017 - 08:48 AM

If it were me I think it would seem reasonable if you have an x and y why not do a translate to that point then rotate?
Was This Post Helpful? 0
  • +
  • -

#21 pbivens85  Icon User is offline

  • D.I.C Regular

Reputation: -8
  • View blog
  • Posts: 338
  • Joined: 22-October 13

Re: opengl move space ship

Posted 21 November 2017 - 05:56 PM

why did my reputation go down again?
Was This Post Helpful? 0
  • +
  • -

#22 ndc85430  Icon User is offline

  • I think you'll find it's "Dr"
  • member icon

Reputation: 700
  • View blog
  • Posts: 2,863
  • Joined: 13-June 14

Re: opengl move space ship

Posted 23 November 2017 - 01:00 AM

Perhaps you should reread this post by macosxnerd101 in one of your previous threads.
Was This Post Helpful? 1
  • +
  • -

#23 pbivens85  Icon User is offline

  • D.I.C Regular

Reputation: -8
  • View blog
  • Posts: 338
  • Joined: 22-October 13

Re: opengl move space ship

Posted 02 December 2017 - 04:40 PM

well I have decided to go back to my tic tac toe game using c++ and text based code. could I get the previous posting number that I have posted before.
Was This Post Helpful? 0
  • +
  • -

#24 ndc85430  Icon User is offline

  • I think you'll find it's "Dr"
  • member icon

Reputation: 700
  • View blog
  • Posts: 2,863
  • Joined: 13-June 14

Re: opengl move space ship

Posted 02 December 2017 - 11:05 PM

What? If you're looking for your previous threads/posts, you can find them by going to your profile page and clicking the relevant link.
Was This Post Helpful? 0
  • +
  • -

#25 pbivens85  Icon User is offline

  • D.I.C Regular

Reputation: -8
  • View blog
  • Posts: 338
  • Joined: 22-October 13

Re: opengl move space ship

Posted 06 January 2018 - 04:13 PM

what is an example of a specific question?
Was This Post Helpful? -1
  • +
  • -

#26 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13748
  • View blog
  • Posts: 54,903
  • Joined: 12-June 08

Re: opengl move space ship

Posted 06 January 2018 - 04:25 PM

Come on dude..
*sigh*
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2