#Get user's lips location to control the mouth of a character - popping an error.

3 messages · Page 1 of 1 (latest)

prisma aurora
#

Hey there! I'm building some shader graph logic and keep getting an error when using Head Input and getLandmark. The error log doesn't provide much help when looking at the shader graph.

18:17:23 InternalError: Head is not tracked!
Stack trace:
at getLandmark (native)
at Snap_Head_getLandmark (Script Graph.lsscript)
at execution_node_22 (Script Graph.lsscript:99)
at execution_node_20 (Script Graph.lsscript:96)
at execution_node_18 (Script Graph.lsscript:92)
at execution_node_0 (Script Graph.lsscript:86)

Thanks!

#

Also, if you're a script graph expert, let me know! I'd love to have a quick chat.

mellow iris
#

Hi @prisma aurora, could you tell me which node (on the left, outside the image) you are using to start the getLandmark? When using the "OnAwake" node the head is not being tracked yet. "OnStartEvent" fixes that.

Hope that helps, if not let me know I will dive in further! 😄