How do you rotate objects/brushes?

Discussion in 'Mapping Questions & Discussion' started by That's the plan, Oct 27, 2018.

  1. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    I was wondering how you rotate brushes/objects
     
  2. Narpas

    aa Narpas Takes way to long to make and update maps

    Messages:
    425
    Positive Ratings:
    404
    If you select a brush and click on it once in one of the 2D views, the square handles at the corners will turn into circles, which can then be clicked and dragged to rotate the object. By default, it will rotate in 1° increments, but there is an option in preferences to lock it to 15° increments instead, which can then be toggled off by holding down alt (or shift, I don't remember). You can also rotate a selection more precisely by opening the transform dialogue with control + M. (Quick tip: sometimes, when rotating using the transform dialogue, your selection will rotate slightly on axis set to 0; to fix this, set those axis to 0.0 instead)
     
  3. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Sorry, I guess I wasn't being specific enough, my bad. What I meant is how do you make a object rotate in-game, like in the same way a door opens and closes.
     
  4. Narpas

    aa Narpas Takes way to long to make and update maps

    Messages:
    425
    Positive Ratings:
    404
    Ah, to do that, you needed to use a func_door_rotating. If you want your object to rotate infinitely, simply set the distance to a huge number. There also exists a func_rotating entity, but this doesn't work in TF2 for some reason

    Edit: To rotate an object with the rotating door, parent the object to the door
     
    • Like Like x 1
  5. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Thanks man, appreciate it.