action interrupted

NodeCanvas Forums Support action interrupted

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11945
    anglo
    Participant

    I have a NPC that moves in a Navmesh, in a “sequence” set to detect a target with “Can See Target” then set to move towards it with “Move to target” and then set to play an Animator action with “Set Parameter Bool”. if the animator action is disable, the Move to target works, NPC approach to it. But if the action “Set Parameter Bool” is active, it plays the animation as soon as it sees the target without bothering to approach the target. Can an action be set to not be interrupted until is finish so the “Move to target” is executed and the NPC is within the right distance?

    #11946
    Gavalakis
    Keymaster

    Hello,

    That is really change, because I can’t see any reason why the “Set Parameter Bool” affects the “Move To Target” action.
    The “Move to Target” action will continue to run until the destination is reached and only then the Sequencer will continue to the next action in order (in this case the “Set Parameter Bool”).
    Does the “Move To Target” action get highlighted in green color with a checkmark, when it seems to not be working?
    Can you please post a screenshot of the tree?

    Thanks in advance.

    Join us on Discord: https://discord.gg/97q2Rjh

    #11949
    anglo
    Participant

    Thanks for your quick answer.
    Yes the “Move to target” does become green. infact all the branch became green. Only the “wait” become permanently in use.
    Since I have ootii Motion Controller I use his actions to compare the results and they work. it goes to the place where the target is, before performing the animator bool and it finish the branch successfully. Is the Same branch design, only difference is the “Move to target” action instead of the ootii action. My guess is that the action send a “success message” just by starting the action without checking if it has arrived to the place or completing it.
    Our Build is for IOS. We have had problems with other Behavioural Trees asset that when the Build was Mac PC it would work perfectly but when was IOS it will fail. could this be the case?
    I am attaching a picture. As you can see the actions has been trigger already but it perform the animator bool even though the NPC is far from the yellow sphere.
    Kind regards

    Attachments:
    You must be logged in to view attached files.
    #11953
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply this time.
    Is it possible for you to please send me the project showcasing this issue so that I can take a better look at this and why it is happening at “support_AT_paradoxnotion.com” ?
    If so that would be really great!

    Regarding you question about iOS, NodeCanvas will work fine with iOS, as long as you please follow the instructions explained in the following documentation section: [LINK].

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.