Reply To: Raycasting gives 0,0 0,0 0,0

Forums 💬 FlowCanvas ⚙️ Support Raycasting gives 0,0 0,0 0,0 Reply To: Raycasting gives 0,0 0,0 0,0

#12793
Gavalakis
Keymaster

    Hello and sorry for the late reply due to Easter.

    The problem here, is that the “Physics.Raycast” node is never called.
    A node such as this (which returns a “Value”), is called only when the “Value” port is fetched/used.
    There is though another way and that is to explicitely call the node with a Flow Connection.
    To do that, you need to select the node and enable the “Callable” option in it’s inspector. Once you do that you will notice that the node will now have two extra ports, one for Flow Input and another for Flow Output. As such, you will be able to call the node as normal.

    If you need more help with this please let me know and I will provide a specific example 🙂

    Thanks!