Hand animation override is not working for me when changing the hand pose by GrabPointHand. The game logs error
USER SCRIPT ERROR: Invalid call. Nonexistent function 'remove_animation' in base 'AnimationPlayer'.
at: XRToolsHand._update_pose (res://addons/godot-xr-tools/hands/hand.gd:346)
Calls to _animation_player.remove_animation(open_name) (and remove_animation(close_name) few lines later) causes the trouble, replacing it by _animation_player.get_animation_library("").remove_animation(open_name) seems to fix the problem.
My knowledge of the framework is pretty low though, I'm not really confident the fix wouldn't break something else.
Hand animation override is not working for me when changing the hand pose by GrabPointHand. The game logs error
Calls to
_animation_player.remove_animation(open_name)
(andremove_animation(close_name)
few lines later) causes the trouble, replacing it by_animation_player.get_animation_library("").remove_animation(open_name)
seems to fix the problem.My knowledge of the framework is pretty low though, I'm not really confident the fix wouldn't break something else.