Hi, thinking of switching from PlayMaker to NodeCanvas since NodeCanvas supports custom classes and seems like I’d have to rely less on typing/standardizing strings a lot. One thing I’ve gotten super used to in PlayMaker is the debugging features it has, and I’d like to know if NodeCanvas has them as well.
Debugging features I’m curious about:
1. Showing a fsm’s current state in game view (stateLabel.gif)
2. Live debugging an action in the scene view, example “get distance” action (distance.gif)
3. Other action example: raycasting (raycast.gif)
4. Showing live variable values beneath the actions that alter them in the graph editor (variables located where mouse is positioned in variable.gif)
Hello and welcome. Please let me answer your questions:
1) This is not implemented, but I can add this 🙂
2) Some few actions/conditions (called Tasks in NodeCanvas) do have similar debug gizmos. If you are making custom action/condition tasks you can override the OnDrawGizmosSelected method to draw gizmos since there is such a call for this purpose. I will review the existing tasks in case there are some that could use gizmos but are currently not.
4) Live variable values can be displayed but at a different place, that being next to the variable in the Blackboard the variable is (The Blackboard is a place where Variables live). Since the Blackboard is always shown in the graph editor, it also makes the variable value visible at any time as long as the debug live value is enabled for the variable. It is not by default but it can be enabled selectively for any variable you want.
If you have any other questions, please let me know.
Thank you.