- Godot Engine Game Development Projects
- Chris Bradfield
- 127字
- 2021-06-18 18:51:26
Vectors
You can also think of the position (4, 3) as an offset from the (0, 0) point, or origin. Imagine an arrow pointing from the origin to the point:

This arrow is a vector. It represents a great deal of useful information including the point's location, (4, 3), its length, m, and its angle from the x-axis, θ. Altogether, this is a position vector, in other words, it describes a position in space. Vectors can also represent movement, acceleration, or any other quantity that has an x and a y component.
In Godot, vectors (Vector2 for 2D or Vector3 for 3D) are widely used, and you'll use them in the course of building the projects in this book.
推薦閱讀
- 我的J2EE成功之路
- Canvas LMS Course Design
- Google App Inventor
- PHP開發(fā)手冊
- 21天學(xué)通ASP.NET
- Implementing Splunk 7(Third Edition)
- ESP8266 Home Automation Projects
- 完全掌握AutoCAD 2008中文版:機(jī)械篇
- 云原生架構(gòu)進(jìn)階實戰(zhàn)
- Deep Reinforcement Learning Hands-On
- Applied Data Visualization with R and ggplot2
- MATLAB-Simulink系統(tǒng)仿真超級學(xué)習(xí)手冊
- 30天學(xué)通Java Web項目案例開發(fā)
- 設(shè)計模式
- 51單片機(jī)應(yīng)用程序開發(fā)與實踐