0 votes

Basically, in the scene I have a ball which spawns in the direction of screen swipe . The ball can collided with the tilemap in the scene. Everything works fine (ball spawning and collision) unless I touch (mouseclick) the tilemap.
After touching the tilemap once , whenever the ball is spawned again , it disappears on collision with tilemap. This problem persists on all subsequent balls spawned.

in Engine by (78 points)

Then... post your code or an example project?

Figured out a way to manage the problem. Prevented the ball from being spawned if the initial and final positions of the input are same. And then the problem never occured !.

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.