- 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成功之路
- 21天學(xué)通PHP
- Windows XP中文版應(yīng)用基礎(chǔ)
- Visual C# 2008開(kāi)發(fā)技術(shù)詳解
- Security Automation with Ansible 2
- 自主研拋機(jī)器人技術(shù)
- 自動(dòng)生產(chǎn)線的拆裝與調(diào)試
- 西門子S7-200 SMART PLC實(shí)例指導(dǎo)學(xué)與用
- 愛(ài)犯錯(cuò)的智能體
- 分?jǐn)?shù)階系統(tǒng)分析與控制研究
- OpenStack Cloud Computing Cookbook
- LAMP網(wǎng)站開(kāi)發(fā)黃金組合Linux+Apache+MySQL+PHP
- Containers in OpenStack
- 云計(jì)算和大數(shù)據(jù)的應(yīng)用
- Introduction to R for Business Intelligence