🎮Unity

[Unity] 기본 다지기_물리, Life Cycle, 기본 용어

taesooya 2022. 7. 31. 23:41

22.05.06

 

물리 공식

  • 이동 공식 - p = p0 + vt (velocity)(time)
  • 가속도 공식 - v = v0 + at
  • 힘의 공식 - F = ma (mass)(accelation)
Vector - 방향 * 크기
곱하기 - Scalar곱(내적, Dot)  Vector곱(외적, Cross)

Scalar - 크기

 

Unity Life Cycle

 

 

Vertex 정점 Edge 모서리 Surface / Face / Polygon / Triangle면 Mesh 도형
GetAxis / GetAxisRaw
Normalize - 정규화벡터

 

PlayerMove

Vector3.up
Transform.up

 

PlayerFire

ObjectPool
MemoryPool