+2 votes

Basically i need to be able to edit some Points on a CollisionPolygon2D in my Game so i can make it adjust to the window size How might i be able to do this, because the documentation for it says it's editor only in terms of coding

in Engine by (483 points)

1 Answer

0 votes

I have changed the collisionShape in my game with


the old_transform i got like this:

func _ready():
    old_transform= get_shape_transform(0)
by (693 points)
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.