Stop Character Path Movement

Discussion in 'How Can I...?' started by onetap, Jul 6, 2020.

  1. onetap

    onetap Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    122
    Likes Received:
    34
    Hi,

    How can I stop a character from moving along a path when it collides with an object in BB3?
     
  2. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    You need to use an 'If collide' node then set up the asset it collides with to stop it moving. then use a physics node, or move node- depending on your game - setting movement to 0 in all directions. You can find out more via live stream and the free platform template. Download it and take a look through how things are set up.
     
  3. onetap

    onetap Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    122
    Likes Received:
    34
    Does this work if a 'Path Move' node is being used?
     
  4. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,389
    Likes Received:
    596
    it does yes i believe so. it will take some trial and error, getting the physics right. so set the wall object to static and all. and your character to kinematic and none I think.
     

Share This Page