Why Does Transform Position Logic Not Hold True?

Discussion in 'Technical Discussion' started by AaroArts, Nov 8, 2018.

  1. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    It seems that Transform Logic for Replace Position isn’t working in the Scene it’s used in and the positions refer to the START Scene.

    For example in a vertical game, if you replace the Y axis coordinate with a value in Scene 2, it teleports it to that location in Scene 1.

    How do you get the Logic to apply to the Scene it's placed in?

    Thank you.

    @NikRudenko
     
    Last edited: Nov 8, 2018
  2. Frederik

    Frederik Boxer

    Joined:
    Oct 2, 2018
    Messages:
    48
    Likes Received:
    14
    If you set transform 'Affect operation' to 'Add' and set position, it should add values to current position. I believe you can set position only relative to world (start scene) with 'Replace', and current position (with 'Add').
     
    Last edited: Nov 8, 2018
  3. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Replace replaces a value and Add adds a value to the existing value.

    Replace Position values on Y axis don’t work on vertical games and Replace Position values on X axis don’t work on horizontal games.

    The coordinates aren’t local to each scene, so it resets the Object(s) respective position to the START scene.
     

Share This Page