0 votes

Hi All. I am using Input.set_custom_mouse_cursor(my_cursor) to change the cursor graphic when it's hovering over a certain type of node (in 3D). I'm shooting a raycast from the mouse to get the node it collides with.

Problem:
This only works when the camera is not moving. My (interpolated) camera follows the player. When it's standing still, the hovering works as expected - the cursor updates its icon when hovered over the node type. BUT, when the player starts moving and the camera starts following it and I do the hovering, it the icon does not update.

Any ideas on what I may be doing wrong?

asked Jun 24 in Engine by Macryc (289 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.