0 votes

I am creating a simple game using online tutorial for learning purpose. It us showing the following error am not able to fix it. Any help?

Thanks in advance.enter image description here

in Engine by (109 points)

1 Answer

+1 vote
Best answer

Based on the error, your bullet_instance is a Rigidbody, which is a 3D component and does not have a position property. Is this a 2D or 3D project? A Rigidbody2D (a 2D component) does have a position property. Maybe that's what you intended?

by (10,914 points)
selected by

Yes, you are right. This is 2D game, I used RigidBody2D everything works fine.

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.