Question about step by step tutorial from documentotation

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By harv3n

Hello everyone,
I’m starting with godot and game development, so, I started with documentation.
But I has a question and maybe its stupid…
I’m following the step-by-step tutorial and, in the signals part, in the shot example, when I put “b.velocity = […]” I get the error: ‘Invalid get index ‘Velocity’’.
I researched velocity property in so many objects and not found any I can use.
How the hell do I throw a bullet at this?
I appreciate any help and the good souls that just pass from here, I wish happiness

:bust_in_silhouette: Reply From: kidscancode

The code for that tutorial is incomplete - it doesn’t have code for the bullet. It’s meant as an example of a method for spawning bullets, not as a complete tutorial. It’s going to be moved into a separate document as a more advanced example. Sorry for the inconvenience.