-
-
Notifications
You must be signed in to change notification settings - Fork 215
Description
I am trying to use the follow path function on a cube (preferably a camera but for testing purposes) there is movement to the object in 3.6 but none in 0.44. In 0.44 when I hit P to test or hit the Force Compile button. I get the following error.
[Logic Nodes][NOTIFICATION] Building Logic Trees on Startup...
[Logic Nodes][NOTIFICATION] Generating code for tree Logic Node Editor
Error in bpy.app.handlers.game_pre[0]:
Traceback (most recent call last):
File "C:\Program Files\pubge\0.44\4.4\scripts\addons_core\bge_netlogic_init_.py", line 90, in _generate_on_game_start
generate_logic_node_code()
File "C:\Program Files\pubge\0.44\4.4\scripts\addons_core\bge_netlogic\generator\tree_code_generator.py", line 24, in generate_logic_node_code
TreeCodeGenerator().write_code_for_tree(tree)
File "C:\Program Files\pubge\0.44\4.4\scripts\addons_core\bge_netlogic\generator\tree_code_generator.py", line 169, in write_code_for_tree
text = self.add_nodes(tree)
^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\pubge\0.44\4.4\scripts\addons_core\bge_netlogic\generator\tree_code_generator.py", line 235, in add_nodes
cell_var_names, uid_map, text = self._write_tree(tree)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\pubge\0.44\4.4\scripts\addons_core\bge_netlogic\generator\tree_code_generator.py", line 251, in _write_tree
node.check(tree)
File "C:\Program Files\pubge\0.44\4.4\scripts\addons_core\bge_netlogic\editor\nodes\node.py", line 264, in check
for socket in self.inputs:
MemoryError: couldn't create bpy_struct object
Debug: 1096, 1361
rcti: : xmin 0, xmax 1095, ymin 153, ymax 1513 (1095x1360)
Blender Game Engine Started
Debug: Game Controller (XInput Controller) with index 0 initialized
No global categories found in <bpy_struct, Scene("Scene") at 0x000001B1969280A0> <bpy_collection[1], BlendDataScenes>
Blender Game Engine Finished
Debug: Game Controller (XInput Controller) with index 0 closed
Traceback (most recent call last):
File "C:\Program Files\pubge\0.44\4.4\scripts\addons_core\bge_netlogic\editor\nodetree.py", line 138, in update
for i in n.inputs:
MemoryError: couldn't create bpy_struct object
RuntimeError: could not create instance of NLSocketLocalAxis to call callback function 'draw'
RuntimeError: could not create instance of NLSocketLocalAxis to call callback function 'draw_color'
Not really sure about this follow path function is suppose to work. There is movement but sometimes the cube doesn't really follow the curve I assign to the Path Points connector. I use a Get Curve Point node in order to specify the path I want and the cube sort of follows the path and then goes into some kind of loop when it hits a certain point. when I adjust the reach threshold to somethin like 0 it stops when it hits a certain point. Other than that the best I can get is some kind of movement but then it goes into some kind of internal loop at a certain spot never leaving that location.
Thank you for having this
Pratt.