Trouble with Path logic

Discussion in 'Buildbox General Discussion' started by sysads, Jan 15, 2016.

Tags:
  1. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Path is currently the most important bit for my new game but since there is no preset for it, I am stuck with an issue.

    See demo below, you notice that the ball moves without hitting path radius but when it hits it, I expect it to move just as Trey showed us in the demo but this does not move and it for some reason stops the ball from moving further or even backwards :(

    Any help will be much appreciated or if you guys can send me screenshots of the preset, that would be amazing

    https://www.dropbox.com/s/0q64kuu3ciicw8f/ice_video_20160115-171012.webm?dl=0
     
  2. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    I believe Trey said that it will work in direct movement mode only

    "Also, right now Path's will only work if you are in Direct Movement mode. Fairly minor stuff, but I wanted you guys to be aware."
     
  3. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    @andre_sprs if I get you right, unchecking everything else and leaving Direct Movement should work but this is what happens. It just stays there

    upload_2016-1-15_17-42-43.png
     
  4. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    Let me setup a test project and try it on my end
     
  5. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    thanks
     
  6. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    I used the simple game demo and created a path and it worked without any issues.
    Direct movement, Forced Movement, Fixed Rotation were checked by default
     
  7. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
  8. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Ah I see, not all the game sample work with it. The platformer sample did not work but the simplegame worked. So what is the difference since both have direct movement checked.
     
  9. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    @sysads Forces like gravity for example will muck with Path right now. In addition to game control movements. Likely you will need to wait until the next release for them to work better in your game.

    I'm not sure a platformer is the best example to showcase the use of paths... but hey maybe that is the next big game. :)
     
  10. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Thanks @Andy but except I am seeing double :), I am very sure Trey's demo in the intro video, he used platformer to demo path
     
  11. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
    I think that Andy is right about gravity. When I tested with platformer, it would move the character to the right but couldn't lift the character up. (because of gravity)
    I will play around with the gravity setting to see if it works.
     
  12. andre_sprs

    andre_sprs Serious Boxer

    Joined:
    Sep 30, 2015
    Messages:
    844
    Likes Received:
    403
  13. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Ah I just figured out the issue - Character Max Speed Y-axis was zero so just took that up and it worked :)
     
  14. ricky_dawn

    ricky_dawn Boxer

    Joined:
    Dec 14, 2015
    Messages:
    34
    Likes Received:
    5
    You could always have an invisible power-up to turn off gravity on top of the path logic or right before it which is set to the duration at which it takes the path to run. Does changing the Y axis speed not make the char jump really fast??
     

Share This Page