How do I change the collisionshape2D’s y position using script?
I’ve been trying to follow a tutorial for creating a crouch in my game, but the tutorial is in GDscript and I managed to recreate all code in csharp except for the last bit and now I’m stuck. Can someone tell me how I change the y position of my collider?
The code is:
CLShape.Shape = CCLShape; //works
CLShape.Position.y = 12.25; //doesn’t work