Skip to content

Using SpringBoneSimulator3D on Skeleton3D causing errors. #113972

@DemonBunnyBon

Description

@DemonBunnyBon

Tested versions

  • Reproducible in v4.6.dev6, v4.6.beta1
  • Not reproducible in v4.5.1.stable

System information

Godot v4.6.beta1 - Windows 11 (build 26200) - Multi-window, 1 monitor - Direct3D 12 (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.8157) - Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz (12 threads) - 23.92 GiB memory

Issue description

Attaching a SpringBoneSimulator3D node to a Skeleton3D node and giving it a root and end bone will result in the following error for each bone in the chain whenever the game is launched or a scene with the node present is opened:
ERROR: scene/3d/spring_bone_simulator_3d.cpp:890 - Index p_joint = 0 is out of bounds ((int)joints.size() = 0).

Steps to reproduce

  • Attach SpringBoneSimulator3D to a Skeleton3D with 2 or more bones in a chain.
  • Set Root Bone Name and End Bone Name in SpringBoneSimulator3D to a start and end bone in the chain.
  • Open or run a scene with the node that has the Skeleton3D and SpringBoneSimulator3D present.

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Bad

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions