0 votes

Hi,

I want to make a bullet-like object that will fly in a straight line and send signal to the body it's hitting, and then fly uninterrupted on the same path. This should be kind of "kill everything in a straight line" projectile.

I have no problem activating the script on victims body, but when the bullet collides with the first object it interacts physically with it and stops/deflects.

How can I disable physical interactions between bullet and victim while still registering collision in script?

in Engine by (203 points)

1 Answer

+1 vote
Best answer

You have to use Area for that. Areas allow to detect other physical objects while not interacting with them.

by (1,047 points)
selected by
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.