We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the func _on_SwipeDetector_swiped( partial_gesture ), the partial_gesture.get_direction() always returns the direction as left.
func _on_SwipeDetector_swiped( partial_gesture )
partial_gesture.get_direction()
left
This is not desired, as in my case, I need to perform an action as soon as the swipe starts.
Example code to recreate:
func _on_SwipeDetector_swiped( partial_gesture ): var dir = partial_gesture.get_direction() print("Swiped in dir = ", dir)
The text was updated successfully, but these errors were encountered:
Can you share your SwipeDetector configuration? How did you set up the node?
Sorry, something went wrong.
Sure, I have configured the SwipeDetector node as : https://i.imgur.com/3CQ2B1T.png And it's set up in the scene hierarchy as : https://imgur.com/a/QokC8i5
No branches or pull requests
When using the
func _on_SwipeDetector_swiped( partial_gesture )
, thepartial_gesture.get_direction()
always returns the direction asleft
.This is not desired, as in my case, I need to perform an action as soon as the swipe starts.
Example code to recreate:
The text was updated successfully, but these errors were encountered: