I’m attempting to attach a particle emitter to a skeleton, and am having some hiccups. Specifically, I can’t seem to attach the GPUParticleEmitter3D to an actual bone, that I can see.

This should still be trivial, but all of the Skeleton functions require a bone’s index, and as far as I can tell, I can’t get that easily. Can someone help me figure this out, or at least provide a link to some relevant documentation?

The Godot docs have been a little obtuse so far.

  • ImpossibleRubiksCube@programming.devOP
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Oh wait. It’s “find_bone”, isn’t it. That’s def a step away from the “get_bone” naming standard, but if it works I’ll take it!

    I’m still curious as to whether there’s an easier way to do this than simply updating the global position, by script, to match the pose’s.