Skip to content

Fluid2D's tool scripts are broken #373

@kBlankii

Description

@kBlankii

Describe the bug

After attaching either "fluid_2d_circle.gd" or "fluid_2d_rectangle.gd" to a Fluid2D node and changing its size parameter (circle_radius / height & width) in the inspector, the Godot IDE outputs the following error message:

ERROR: Cannot call GDExtension method bind 'create_circle_points' on placeholder instance.
ERROR: Cannot call GDExtension method bind 'set_points' on placeholder instance.

To Reproduce

Just by following the steps in the official documentation.

Expected behavior

After editing circle_radius in the inspector, a circle should be appearing in the scene editor without any error thrown.

Environment:

  • OS: Windows 10
  • Version: 22H2 19045.5965
  • Godot Version: 4.4.1 stable
  • Type: godot-rapier-2d-single-simd-parallel

Example project(zip)

rapier_fluid_2d_script_error.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions