In this patch a little puck moves towards a blue ball. Every 5s the blue ball is moved to a random position. You can change the view with the "wasd-qz" keys. This patch works with a feedback loop between the torque and the current position and rotation of the puck in relation to the blue ball, but it definitely could be optimized inside of the "anglediff", "extract_rotatez" and "closeangle" subpatchers.
The help I need is to convert the second patch so it works in 3D. I wish @lookat was an object as I feel it could definitely be useful in this case.
Thank you in advance.