일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Two Points
- Stored Procedure
- Dijkstra
- 스토어드 프로시저
- binary search
- Brute Force
- 그래프
- MYSQL
- 이진탐색
- 다익스트라
- SQL
- two pointer
- Trie
- Hash
- DP
- String
- union find
Archives
- Today
- Total
codingfarm
이동 본문
트랜스 폼
1
2
3
4
5
6
7
8
9
10
|
Vector3 velocity;
public void Move(Vector3 _velocity) {
velocity = _velocity;
}
public void Update() {
transform.Translate(velocity * Time.deltaTime);
}
|
cs |
물리엔진
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Vector3 velocity;
Rigidbody myRigidbody;
void Start() {
myRigidbody = GetComponent<Rigidbody> ();
}
public void Move(Vector3 _velocity) {
velocity = _velocity;
}
public void FiedxUpdate() {
myRigidbody.MovePosition(myRigidbody.position + velocity * Time.fixedDeltaTime);
}
|
cs |
Comments