Skip to content
TheChatArchiveThe Chat Archive
Perplexitysonar-pro-high· PerplexityHugging Face LMArena Search Arena 24K

I am working on a UEFN project in which I need an npc's head to track a player. To do…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Perplexitysonar-reasoning-pro-high’s answer.
  1. User

    I am working on a UEFN project in which I need an npc's head to track a player. To do this, I need to know if you can expose a players position in Verse as a 3 vector, and capture it and make it available inside of the control rig blueprint. Keep in mind UEFN is different from Unreal Engine. Do NOT guess or make ANY assumptions in your response. If you can't find a conclusive answer, simply respond with "Inconclusive."

  2. Perplexity Assistant

    You can expose a player's position as a 3-vector (Vector3) in Verse within UEFN. Multiple tutorials and code examples demonstrate retrieving a player's position using Verse, specifically by accessing the player's transform and extracting the translation component, which is a Vector3 representing the player's location in the world[3][4][5][8]. For example, you can use:

    PlayerFortChar := Player.GetFortCharacter[]
    PlayerPosition := PlayerFortChar.GetTransform().Translation
    

    This PlayerPosition variable is a Vector3 containing the player's X, Y, and Z coordinates[5][8].

    However, regarding making this Vector3 available inside a Control Rig Blueprint within UEFN, the documentation and available resources do not provide a conclusive, direct method for passing Verse variables (such as a Vector3) into a Control Rig Blueprint in UEFN. While in Unreal Engine (UE) you can expose variables and communicate between Blueprints and Control Rig using standard Blueprint interfaces or custom events[6][10], UEFN operates with a more restricted scripting environment and does not natively support the same level of integration between Verse scripts and Control Rig Blueprints as Unreal Engine does[7].

    Therefore, while you can capture and work with a player's position as a Vector3 in Verse, there is no clear, documented method to directly expose that data to a Control Rig Blueprint in UEFN as of now.

    Inconclusive.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.