Topic was automatically imported from the old Question2Answer platform.
Asked By
pastryfriend3224
For this line: GetNode<Node>("Pivot").LookAt(Translation + direction, Vector3.Up);
I’m getting the following error: 'Node' does not contain a definition for 'LookAt' and no accessible extension method 'LookAt' accepting a first argument of type 'Node' could be found (are you missing a using directive or an assembly reference?)
Does anyone know how to fix this error? I had to Replace Node3D with Node. I don’t know what to replace LookAt with.