Files
LNXSDK/leenkx/blender/lnx/logicnode/navmesh/LN_navigable_location.py

13 lines
390 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class NavigableLocationNode(LnxLogicTreeNode):
"""A random navigable location in the navmesh."""
2025-01-22 16:18:30 +01:00
bl_idname = 'LNNavigableLocationNode'
bl_label = 'Random NavMesh Location'
lnx_version = 2
2025-01-22 16:18:30 +01:00
def lnx_init(self, context):
self.add_input('LnxNodeSocketObject', 'NavMesh')
self.add_output('LnxVectorSocket', 'Location')