My Character's Glue Problem

Discussion in 'How Can I...?' started by HarikaYesim, May 1, 2020.

  1. HarikaYesim

    HarikaYesim Boxer

    Joined:
    Jan 14, 2020
    Messages:
    16
    Likes Received:
    0
    Hi,
    My character have to stick a platform (actually a flying owl) and then needs to pass the enemy below.

    My character is kinematic and my character dynamic. I tried to do with glue node and changed it based on the Smart Penguins video. However , every time I get the error glue node only works with dynamic physics.

    How can I make my character stick and then release from the paltform?
     
  2. dannymanny

    dannymanny Boxer

    Joined:
    Feb 9, 2020
    Messages:
    1
    Likes Received:
    0
    A lil late to the party, I am also having the same problem but I want to share some solutions to the rest.
    The glue node is not versatile. If you are having JS error, you must only have one "If Collide", the rest must change to say, lower case i,
    "if collide" etc so that the glue node does not call for all the if collide node in the asset.

    For dynamic physics problem, it only works if the asset is Dynamic, in script:
    if (phys && phys.type() != 'kDynamic') {
    warning('Glue node works only with Dynamic physics.')

    it is not an error per se, just a warning. OP im not sure if youre still having the error, let me know and see how this goes.
     

Share This Page