Make slash attack object follow my player character

I want my character slash attack, which is a separate object, to follow my player character. How to do it?

You can look at using the sticky extension. If that doesn’t suit, maybe a physics distance or rope joint.

Here is a link for an example of project with the physics joints.

And here is a link to another project with physics joint examples

create slash object and put around player?

I use the sticky extension and it worked.

Sticky should work, but what I normally do is create a custom point on my player character at the place I want the upper left of the weapon to start from, then just set up an event that positions the weapon hitbox object always be positioned at that point.

You can see how I do this in my Not-a-vania example that is included in the engine.

1 Like