Node Jump ??

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

Tags:
  1. mourad

    mourad Boxer

    Joined:
    Oct 15, 2019
    Messages:
    3
    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 Boxer

    Joined:
    Aug 24, 2018
    Messages:
    63
    Likes Received:
    32
    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:
    3
    Likes Received:
    0
  4. Hanomax

    Hanomax Boxer

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

    mourad Boxer

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

    Hanomax Boxer

    Joined:
    Aug 24, 2018
    Messages:
    63
    Likes Received:
    32
    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 );
     
  7. AbdoBox20

    AbdoBox20 Boxer

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

    Hanomax Boxer

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

    AbdoBox20 Boxer

    Joined:
    Sunday
    Messages:
    2
    Likes Received:
    0
    hello Hanomax
    thanx for reply i fix problem , i change ''Jump'' to ''Enabled'' : here >>>>> if(name == 'Jump' && value){
     

Share This Page