How do I make a sword object be connected to the player. Also how do I swing the sword with a hitbox once connected?

There may be some tutorials on this somewhere.

  • If you’re using Arcade Physics, you can enable a container for physics and move it with velocity.
  • You can get the pointer world coordinates in a click callback and calculate the angle toward it, then tween a game object angle toward that and back.
  • If player and sword are in a container, you can still move or rotate them separately from each other and the container.
1 Like