일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- MapReduce
- call by reference
- 맵리듀스
- inheritance
- member function
- Nonlinear Model
- 회귀
- c++
- Linear Regression
- least square
- Machine learning
- overriding
- Effective C++
- virtual function
- Overloading
- 회귀학습
- kubernetes
- Class
- 비선형 함수
- 딥러닝
- struct
- call by value
- 선형모델
- 최소제곱법
- 비선형모델
- 머신러닝
- regression
- 지도학습
- local minimum
- Nonlinear Function
- Today
- Total
목록Computer Language/Unity (20)
J's Study log
Local Position - Relative position of a Child Object for it's Parent ObjectLocal Rotation - Relative rotation of a Child Object for it's Parent ObjectLocal Scale - The scale of the transform relative to the parent. Local Position Local Rotation Local Scale Command transform.localPosition transform.localRotation transform.localScale how to use Same as transform.position Same as transform.rotation..
You can drag and drop the object to another, and it will be just like the picture. If Stage object have mouse input script, Ground and Obstacle will move according to the script. And the situation like picture we call Stage 'Parent Object', and Ground&Obstacle 'Child Object'.
Just like Key Input the mouse button have commands like Input.GetMouseButton(num) - Will continue to happen while you are holding mouse button.Input.GetMouseButtonDown(num) - Will happen when you hit mouse button.Input.GetMouseButtonUp(num) - Will happen when you release mouse button.['num' can be 0(Left Mouse Button) or 1(Right Mouse Button or 2(Central Mouse Button)] Example code void Update (..
Input.GetKeyDown(KeyCode.---) - Will happen once when you hit the keyInput.GetKey(KeyCode.---) - Will continue to happen while you are holding the keyInput.GetKeyUp(KeyCode.---) - Will happen once when you release the key We can use it like this If you put this code in Update() function the object can jump now.When user hit Space Key, the Input.GetKeyDown in the picture becomes true value, so th..
To make object spin we will use localEulerAngles. localEulerAngles is a way to express Rotation in script which uses the Euler Angles.If you see the first line of Update() function You can see 'transform.local.EulerAngles.z', this means object's rotation of z. And in second line Input.GetAxis("Horizontal"); means if user input right or left arrow key each '+1' or '-1' is inputted. If you want to..
To make camera follow an object in Game View, you have to make a script and apply to Main Camera. First you have to declare a member variable which type is GameObject. For example, when I declare the variable like this By using it, you can input real object's location to 'ball' by 'GameObject.Find(" ");' command. The location of object 'Ball' will be inputted to variable 'ball' when the game sta..