Equal Jumps In Bb3

Discussion in 'How Can I...?' started by AaroArts, Nov 11, 2019.

  1. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    Does anyone have a solution for making a Character do equal jumps in BB3?
    Unfortunately no matter what values I use, I can't get exact spacing.

    As a test project I currently have tiles every "4" on the z-axis, starting at 2.

    As the character jumps, the Z World Position should be: 2, -2, -6, -10, -14 and so on...
    But below is as close as I can get it, so over time the error becomes large enough that the character is no longer on top of the tile.

    Screenshot 2019-11-11 at 23.38.30.png

    I've tried reseting the Character position to the center of the tile when collides, but it didn't work.
    I've also tried rounding up the Z position using Math.ceil: this.entity().setPosition(0,0,Math.ceil(pos.z));
    But it doesn't actually update the position for some reason.

    If anyone could help out that would be awesome.
    Thanks in advance.
     
  2. Jackazoid

    Jackazoid Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    176
    Likes Received:
    72
    With all respect but should you not ask BB support? This is obviously another BB3 bug.
     
  3. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    I posted in the Discord several times, but no-one replied.
     
    Jackazoid likes this.
  4. Jackazoid

    Jackazoid Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    176
    Likes Received:
    72
    Try Position Animation (Uncheck Single Launch)
     

Share This Page