Node Jump ??

Discussion in 'BBNodes' started by mourad, Nov 3, 2019.

Tags:
  1. mourad

    mourad Boxer

    Joined:
    Oct 15, 2019
    Messages:
    6
    Likes Received:
    0
    Hello,
    I tried to follow the buildbox tutorials on your official channel.

    I tried to use node jump but it does not work, I consult the javascript code I find that a condition is always wrong.


    if(name == 'Jump' && value)

    but when I display the value I find "Enabled" and not "Jump"

    please find attached an explanatory image : https://ibb.co/2hG1KQs

    waiting for your return thank you in advance.
     
  2. Hanomax

    Hanomax Avid Boxer

    Joined:
    Aug 24, 2018
    Messages:
    157
    Likes Received:
    85
    In latest build, jump node input name is "Jump", not "Enabled".
    Try to change it to "Jump".
     
    mourad likes this.
  3. mourad

    mourad Boxer

    Joined:
    Oct 15, 2019
    Messages:
    6
    Likes Received:
    0
  4. Hanomax

    Hanomax Avid Boxer

    Joined:
    Aug 24, 2018
    Messages:
    157
    Likes Received:
    85
    Could you share your bbdoc file? Also information, what build number you're using.
     
  5. mourad

    mourad Boxer

    Joined:
    Oct 15, 2019
    Messages:
    6
    Likes Received:
    0
  6. Hanomax

    Hanomax Avid Boxer

    Joined:
    Aug 24, 2018
    Messages:
    157
    Likes Received:
    85
    In move node, leave x and y values empty (not 0).
    And in jump node, if you scroll down, there is this line:
    _physics.setLinearVelocity( 15, vel.y, vel.z );

    It should be:
    _physics.setLinearVelocity( vel.x, vel.y, vel.z );
     
    Taha Bisgin likes this.
  7. AbdoBox20

    AbdoBox20 Boxer

    Joined:
    Dec 1, 2019
    Messages:
    2
    Likes Received:
    0
    hello
    same problem for me Jump node does not work
    do you have any solution ?!
     
  8. Hanomax

    Hanomax Avid Boxer

    Joined:
    Aug 24, 2018
    Messages:
    157
    Likes Received:
    85
    Need more information. Is physics dynamic? What's your move node settings, jump node settings etc.
     
    AbdoBox20 likes this.
  9. AbdoBox20

    AbdoBox20 Boxer

    Joined:
    Dec 1, 2019
    Messages:
    2
    Likes Received:
    0
    hello Hanomax
    thanx for reply i fix problem , i change ''Jump'' to ''Enabled'' : here >>>>> if(name == 'Jump' && value){
     
  10. Taha Bisgin

    Taha Bisgin Boxer

    Joined:
    Dec 8, 2019
    Messages:
    1
    Likes Received:
    0
    Thanks a lot it helped me out it was just that x and y wasn't blanked.
     

Share This Page