Rotate Towards Node Bug?

Discussion in 'Buildbox 3.0' started by MarcG, Jun 7, 2020.

  1. MarcG

    MarcG Boxer

    Joined:
    May 10, 2020
    Messages:
    35
    Likes Received:
    9
    I'm using a rotate towards node in the simple shooter asset to act like a turret to track my player's ship as it flies into the screen.

    For my testing, the turret is the start scene and then in scene 1 which repeats.

    In my start scene this works perfectly and the turret will track me as I go past but in scene 1 and the repeat versions of scene 1 the turret copies the movement of the original turrent in the start scene, so instead of aiming towards me they aim away from me (as the original turret would be facing into the screen now).

    I'd expect them to move independently. Is this a wrong expectation?

    If I have two turrets in the start scene they work properly/independently.
     
  2. MarcG

    MarcG Boxer

    Joined:
    May 10, 2020
    Messages:
    35
    Likes Received:
    9
    Anyone?

    Is this a bug, or am I doing something wrong?
     
  3. MarcG

    MarcG Boxer

    Joined:
    May 10, 2020
    Messages:
    35
    Likes Received:
    9
    Surely someone can answer if this is expected behaviour or not?
     
  4. Elite Games

    Elite Games Avid Boxer

    Joined:
    Dec 18, 2019
    Messages:
    184
    Likes Received:
    84
    You need to modify a code little bit.
     
    MarcG likes this.
  5. MarcG

    MarcG Boxer

    Joined:
    May 10, 2020
    Messages:
    35
    Likes Received:
    9
    You might want to share the fix with BB, not that they've looked at this and told me there is an issue or otherwise.

    But using your AI node has sorted this for me. I may look in your code for the solution, but right now I'll just use the new node!

    For reference, I got this node to solve the issue:

    https://www.buildbox.com/forum/index.php?threads/buildbox-custom-ai-node.18449/
     

Share This Page