How to have child maintain parent's angles

Discussion in 'Mapping Questions & Discussion' started by SV_CHEATS 1, Jun 7, 2014.

  1. SV_CHEATS 1

    SV_CHEATS 1 L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    I have a problem relating to parenting. If you parent a prop to a player for example, the player the prop is parented to will be able to see the prop move fluently with their movements. For other clients however, the prop stays at the same angles not moving at all. This is the same with other entities being attached to each other. How would I make an entity be attached with another entity while continuously keeping the main entity's angles? Is there another method I can use to achieve this?
    Thank you.
     
  2. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    341
    Parenting a prop_dynamic to a player causes errors.
    You have to parent the prop to a func_brush and the func_brush needs to be parented to the player.
     
  3. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,377
    Contrivances!
     
  4. SV_CHEATS 1

    SV_CHEATS 1 L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Yes but when the player looks around and moves, the attached prop does not. I want the prop to move fluently with the players movement and angles.
     
  5. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    954
    Positive Ratings:
    938
    you mean up and down and all that?
     
  6. SV_CHEATS 1

    SV_CHEATS 1 L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Yeah and side to side. Like if I were to look forward then spin my view 360 degrees the prop would rotate with my angles.