In the tutorial that I’m following the following code is given as the only thing that’s supposed
to make my projectile fly:
position += transform.basis * Vector3(0, 0, -SPEED) * delta
However it doesn’t do anything once it’s spawned in, it just sits there and does nothing.
I was expecting some sort of motion, but wasn’t going to be surprised if I had to adjust the direction, but I’ve got nothing.
I tried moving where the speed variable is (it’s a hard set constant held in the bullet) I tried adapting it to other methods, including changing it to a different node type (kinematic) and then tying other lines to give it movement, but nothing happens.
It’s summoned as a packed scene through a load(scene) as well as a get_parent.add_child(instance) where instance is fed the scene earlier on. But I’m not having trouble getting it to spawn, so IDK if that is relevant.
michael massengale Daymer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.