Pretty Big Bb3 Bug

Discussion in 'Technical Discussion' started by thatguyminib, Aug 1, 2018.

  1. thatguyminib

    thatguyminib Serious Boxer

    Joined:
    Jul 1, 2017
    Messages:
    552
    Likes Received:
    309
  2. NikRudenko

    NikRudenko Administrator Staff Member

    Joined:
    Sep 25, 2015
    Messages:
    179
    Likes Received:
    493
    Can you send me this BBDOC file?
    Also did you used anywhere Dynamic objects or they all Kinematic/Static
     
  3. thatguyminib

    thatguyminib Serious Boxer

    Joined:
    Jul 1, 2017
    Messages:
    552
    Likes Received:
    309
    Just sent you a message with a link to the BBDOC.
    All objects are Kinematic.
     
  4. AlexBB

    AlexBB Boxer

    Joined:
    Aug 2, 2018
    Messages:
    18
    Likes Received:
    11
    Thanks for the BBDOC! Good approach to designing objects' nodes BTW. Can you please explain one more time what is wrong with game preview and what you are trying to accomplish so that we can help. Thanks! Alex.
     
  5. thatguyminib

    thatguyminib Serious Boxer

    Joined:
    Jul 1, 2017
    Messages:
    552
    Likes Received:
    309
    I sent the BBDOC to @NikRudenko so I am a bit confused...

    It is really hard to explain in text but i will try.

    In the first scene I set up my player and an enemy. This enemy will spawn a bullet which I have move towards the player.
    In the second scene I set up another enemy of the same type.

    When I run the game the first enemy spawns bullets at its position and everything works fine but once we go into another scene the enemy in THAT scene will spawn bullets and the position of the first enemy.

    Hopefully this makes sense.
     
  6. NikRudenko

    NikRudenko Administrator Staff Member

    Joined:
    Sep 25, 2015
    Messages:
    179
    Likes Received:
    493
    AlexBB is our BB3 Project manager that helping me keep things organized and diving in to customers issues. ;). So you guys will see him more often.
     
  7. thatguyminib

    thatguyminib Serious Boxer

    Joined:
    Jul 1, 2017
    Messages:
    552
    Likes Received:
    309
    Ah got it lol should probably give him the staff member flag lol.
     
  8. thatguyminib

    thatguyminib Serious Boxer

    Joined:
    Jul 1, 2017
    Messages:
    552
    Likes Received:
    309
    For anyone that is running into this issue. In the spawn node replace let pos = this.entity().position(); with let pos = this.entity().worldPosition(); this will ensure that it spawns at the position in the world instead of the first position you placed the object in. If that makes sense lol.

    Thank you for this @AlexBB. Hopefully, we can get the documentation soon.
     
    adrogdesigns likes this.

Share This Page