0 votes

Hi,

I have an issue with an Area2D with a collisionshape2D as a child.

I am trying to increase the size of the collsionshape2d as follows:

func _process(delta: float) -> void:
$CollisionShape2D.shape.extents.y += 1

but if my player (kinematicbody - which has area entered/exited detector which works in every other situation) stands in it's path outside of the area and then the collision shape expands over the player the player doesn't seem to be able to detect that in has entered this expanding area.

Hope that makes sense,

Any help would be greatly appreciated.

in Engine by (14 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 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 webmaster@godotengine.org with your username.