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