this post was submitted on 11 Aug 2023
1 points (100.0% liked)

Godot: The open source game engine

1 readers
0 users here now

A community for discussion and support in development with the Godot game engine.

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/godot by /u/ShadowRider777666 on 2023-08-10 19:34:17.


I figured I'd ask before doing this but effectively

$CollisionShape2D.disabled = true

And enable a different collision box

$CollisionShape2D.disabled = false

I am trying to make code where the player sliding code and other actions will change the size of the collision box but since I can't do that, I figured I'd do this instead

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here