3D worm thing follow player

Godot Version

4x

Question

How would you go about doing something like this in 3D? A worm/arm thing with sectioned body and head that move towards player but restricted by its base and length.

You probably can achieve a similar effect by connecting multiple rigidbodies with spring joints. Similarly to how a softbody works.

2 Likes

it is not 3D but the principle should be very similar. I solved it this way:

1 Like

Cool. Did you code all the movements yourself? How should I go about doing that?

ps My process is similar to yours ( I recently finished implementing boss camera ),

hope you can continue your project soon.

I used a recursive call until the positions of each segment are recalculated and then updated in the frame. if functions were called sequentially per segment, a wave effect like with a worm occurs.

1 Like