+1 vote

I want to double the size of a collision shape. I know I'm not supposed to mess with the scale, but there are too many points for me to do it manually. In code, it would be straightforward, I would just double the value (or whatever multiple I want to do) of every point in the PoolVector2Array, but I made this shape in the editor, and I'm resizing my sprites, so my collisions need to be resized as well.

Basically, I just want to double (or whatever) all the numbers in the PoolVector2Array of my collision polygon.

TLDR; can I apply a one-time "scale" to change the size of my collision shape, without using the "scale" property?

in Engine by (276 points)

Please log in or register to answer this question.

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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.