Objective-C AI Issue

I’ve recently been working on a project that uses the GKAgent3D and GKAgentDelegate classes. If you need to find out more, here’s the link to the GameplayKit documentation: https://developer.apple.com/documentation/gameplaykit?language=objc.

Anyways, I’ve gotten the hard part working (getting the agent to update and assigning a delegate to the agent for messages), but I’m stuck on getting the position from the agent. The agent has a method called position3, but I don’t know how to retrieve the info from it or even where to start.

If anyone could help me with this pesky problem, I would really appreciate it!

Kind regards,
Creator27