Advanced Hands-on Rust: delta is s Vec2

In ‘Moving Entities with Bevy’ bullet point 3, ‘Set the delta variable to a vector (containing x, y and z values)’ may be a little confusing since delta is a Vec2, and there is no z component until you call delta.extend(0.0)

1 Like

Good catch! I’ve added that to the bug list of things to tackle. It looks like a copy/paste error on my part when I updated some code. Thanks!