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?

in Engine by (422 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.