Object Spawning Drifting In Endless Runner Type Game?

Discussion in 'Buildbox 3.0' started by Muspar, Oct 1, 2019.

  1. Muspar

    Muspar Boxer

    Joined:
    Sep 27, 2019
    Messages:
    9
    Likes Received:
    6
    I'm running into a problem with my game where the character object is falling straight down and you have to avoid obstacles. Gravity is only set to -1 in Z, the character's physics are set to dynamic and position factor is set to 0,0,1 for X, Y, and Z. All of the obstacles are set to kinematic physics and touch control so you're actually moving the obstacles out of the way rather than moving the character around. I initially tried to set control to the character but it wasn't respecting any boundaries (position limiter seemed to do nothing, and it would just clip through platform barriers around the play area) and the 'character' would just fly off the playable area.

    At first, everything is fine. However, as the player falls further the objects inevitably begin spawning higher in +Y until eventually everything happens offscreen. The start and end positions are all at 0,0 in X,Y and the character shouldn't be moving. Any ideas what might be causing this?
     

Share This Page