Can't find SimplexNode like '+', '*' or '/' in Node Browser

FlowCanvas Forums Support Can't find SimplexNode like '+', '*' or '/' in Node Browser

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1585
    ellongrey
    Participant

    Hi, I bought Node+Flow Canvas yesterday and truly was impressed of it!

    Now I’m trying to train myself but having some difficulty with very trivial task.
    How can I add or multiply two float value in flow script?

    It was very intuitive to drag value port to the canvas and bring Node Browser on.
    But I couldn’t figure out how to select ‘Add’ or ‘+’ node I saw in sample scene (SpaceInvaders contains them)

    Is there any option for Node Browser to reveal more or turn filters off?
    I also couldn’t find a node for ‘Rigidbody.velocity’ by just entering ‘velocity’ in Node Browser.
    It shows me ‘NavMeshAgent.velocity’ or ‘Rigidbody.angularVelocity’ but not that ‘Rigidbody.velocity’ (like the attachment screenshot).
    Of course did scroll whole way down with no luck.

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #1588
    ellongrey
    Participant

    I think the strongest point over other solutions is that FlowCanvas includes full of its source code!
    Very happy to skim over code and figured out why ‘velocity’ search does not show Rigidbody’s one and how to fix it:

    In CompleteContextMenu.cs #361: Change indexer parameter ‘node.name’ to ‘node.fullPath’.
    The ‘velocity’ nodes of Rigidbody were overwritten with another nodes of same name because they have same name.
    (Of course I’m not sure if that’s the legitimate solution tho 🙂

    Thank you.

    #1595
    Gavalakis
    Keymaster

    Hello,

    Thanks a lot for purchasing NodeCanvas + FlowCanvas, as well as for your positive feedback. I am really glad you like the tools! 🙂
    Also thanks a lot for the fix! That was a good find indeed and your solution is totally fine! 🙂

    Regarding the +, – etc operators, because the search is only showing results when more than 3 characters are entered in the search field, there is a small problem with these kind of nodes which only have one character :/
    You can of course still add such nodes by manually selecting the node in the “Functions/Implemented/Logic Operators” category where they belong.
    One solution I am thinking for the next version, to make such nodes correctly show in the search (which is of course important) is to simply rename them to their full name (Add, Subtract, etc) and is probably what I am going to do for the next version.

    Let me know.
    Thanks again!

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

    #1629
    soulburner
    Participant

    I’ve got an idea. What about making search algorythm work the following way: when your search query is shorter then 3 characters, you search nodes not by including these chars in the name, but for the exact match. I.e. when you enter “a” in the search query, only nodes with the exact name “a” will be shown.

    Developer at Lazy Bear Games
    http://www.lazybeargames.com

    #1630
    Gavalakis
    Keymaster

    That is actually a good idea 🙂
    I will look into this and see how it works. Thanks!

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

    #1633
    Gavalakis
    Keymaster

    Your solution worked well and will be there in the next version 🙂

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

    #3602
    loganjford
    Participant

    So I hope reviving this post will help me out but I can’t seem to search those simple terms and find what I want even when I type Multiply Float or “x” I get nothing am I doing something wrong? When I type Multiply I ONLY get results for vectors and not different variable types.

    #3603
    Gavalakis
    Keymaster

    Hello and sorry for the late reply. To find these, please use the code symbols instead. So for example, for multiple please use the asterisk “*”, or for divide the slash “/”, etc. It is made this way because the mathematical symbols (eg for divide) are difficult to type (most keyboards don’t even have them at all by default).
    Let me know if that works for you. Thank you.

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

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