detomon / wigglebone

Adds jiggle physics to bones of a Skeleton
Other
296 stars 11 forks source link

Issues calling static functions #7

Closed lleblanc42 closed 7 months ago

lleblanc42 commented 7 months ago

Godot version

v4.1.3.stable

Issue description

Function calls to _project_to_vector_plane and _clamp_length_soft are throwing warnings in Godot 4.1.3 in wiggle_body.gd on lines 184, 185, 201, and 210. Adding WiggleBone. before calling them resolves it. The issue is a static function being called from an instance and apparently it prefers being directly called.

Steps to reproduce

Install and enable the plugin into Godot 4.1.3, include the node on a skeleton and start the game. Game runs, but warnings are thrown.