Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to use angles in game with QGraphicsRectItem
Forum Updated to NodeBB v4.3 + New Features

How to use angles in game with QGraphicsRectItem

Scheduled Pinned Locked Moved General and Desktop
anglesrectanglesplayer
3 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nanoandrew4
    wrote on 7 Jul 2015, 14:56 last edited by
    #1

    So I am working on a 2D landing sim and have managed to get the basics together to make it playable, but I want the plane to tilt up and down so that I can move in a neater fashion on the Y plane. So what I want to know is whether there is a way to make the rectangle substituting for a plane tilt up and down. Thank you!

    T 1 Reply Last reply 7 Jul 2015, 15:43
    0
    • N nanoandrew4
      7 Jul 2015, 14:56

      So I am working on a 2D landing sim and have managed to get the basics together to make it playable, but I want the plane to tilt up and down so that I can move in a neater fashion on the Y plane. So what I want to know is whether there is a way to make the rectangle substituting for a plane tilt up and down. Thank you!

      T Offline
      T Offline
      TioRoy
      wrote on 7 Jul 2015, 15:43 last edited by
      #2

      @nanoandrew4

      Check here, the topic "Transformations".

      N 1 Reply Last reply 7 Jul 2015, 16:21
      1
      • T TioRoy
        7 Jul 2015, 15:43

        @nanoandrew4

        Check here, the topic "Transformations".

        N Offline
        N Offline
        nanoandrew4
        wrote on 7 Jul 2015, 16:21 last edited by nanoandrew4 7 Jul 2015, 16:21
        #3

        @TioRoy Thank you very much, I have looked through it and found what I needed. Again, your help is very much appreciated as it was one of the biggest obstacles, and seems pretty doable now!

        1 Reply Last reply
        0

        1/3

        7 Jul 2015, 14:56

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved