0 votes

I was trying to have my character equip a sword which is RigidBody2D. He picks it up but when i flip my character the sword doesn't..i tried apply_scale(-1,1) on the sword but it doesn't seem to work. Anyone got ideas?

asked Aug 3, 2019 in Engine by Yoseph (41 points)

1 Answer

0 votes
Best answer

As far as I know, apply_scale() takes one argument, which has to be a Vector2. So try this: apply_scale(Vector2(-1,1))

answered Aug 3, 2019 by johnygames (1,841 points)
selected Aug 3, 2019 by Yoseph

Lol i messed up my if''s...thanks tho.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.