Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,256 --> 00:00:02,304
In this lesson we are going to talk about
2
00:00:02,560 --> 00:00:03,072
Camera
3
00:00:03,328 --> 00:00:07,680
We have been using One camera which is a perfect camera in the previous selection
4
00:00:07,936 --> 00:00:12,032
And we are going to go a little further and Discover other use age of the camera
5
00:00:14,080 --> 00:00:15,872
We already have hours
6
00:00:16,128 --> 00:00:18,176
Start up running obviously if you need
7
00:00:18,432 --> 00:00:20,992
Helps to run the Startup you can use this link
8
00:00:21,504 --> 00:00:22,528
Right on the listener
9
00:00:22,784 --> 00:00:23,552
You are looking
10
00:00:23,808 --> 00:00:24,320
Right now
11
00:00:24,576 --> 00:00:27,136
Can you see exactly what you have to do to run this
12
00:00:28,160 --> 00:00:28,672
Ok great
13
00:00:31,232 --> 00:00:33,024
Let's talk about camera
14
00:00:33,280 --> 00:00:37,888
If you look at the documentation the 3DS documentation you after links as always
15
00:00:38,144 --> 00:00:40,192
At the bottom of the page you're looking
16
00:00:40,448 --> 00:00:40,960
Hang up
17
00:00:41,216 --> 00:00:43,264
It's not the right one so it's inside the
18
00:00:43,520 --> 00:00:44,288
Cameras
19
00:00:46,336 --> 00:00:47,616
You have exactly the same
20
00:00:47,872 --> 00:00:49,152
You have all the links below
21
00:00:50,688 --> 00:00:55,296
On the documentation you can do such a small camera you will see that there is a lot
22
00:00:55,552 --> 00:00:56,064
Upcoming
23
00:00:56,320 --> 00:01:00,525
We're going to talk about all of them but we are only going to use two of them
24
00:01:00,527 --> 00:01:02,875
Subtitled by
-♪ online-courses.club ♪-
We compress knowledge for you!
https://t.me/joinchat/ailxpXoW3JVjYzQ1
25
00:01:02,876 --> 00:01:05,280
The first one we are going to see is the camera just
26
00:01:05,536 --> 00:01:06,048
Camera
27
00:01:06,816 --> 00:01:12,448
This is an abstract class you're not supposed to use the camera
28
00:01:12,960 --> 00:01:13,472
Diarrhoea
29
00:01:14,240 --> 00:01:19,616
Did the other 11 + like coming in
30
00:01:20,384 --> 00:01:23,200
I haven't talked about the red but you got it there
31
00:01:23,456 --> 00:01:27,040
Camera to camera auto graphics
32
00:01:28,320 --> 00:01:28,832
From the can
33
00:01:29,088 --> 00:01:32,416
It's just an abstract class don't use it down
34
00:01:33,952 --> 00:01:36,256
Tara cameras this one is interesting
35
00:01:36,512 --> 00:01:38,048
It's to Rhonda the scene
36
00:01:38,560 --> 00:01:44,704
From multiple cameras on specific areas of the Rhondda this what you can have like
37
00:01:44,960 --> 00:01:50,848
The part of Miranda on this part another run down this path and other Rhonda on Bicester
38
00:01:51,104 --> 00:01:52,640
With different point of view
39
00:01:52,896 --> 00:01:59,040
This can be useful if you're doing like a old multiplayer games where we were multiple
40
00:01:59,296 --> 00:02:00,320
People playing
41
00:02:00,576 --> 00:02:05,696
With different controls on the same screen same screen the screen the screen goes
42
00:02:06,208 --> 00:02:08,768
You can do that by using a rectum
43
00:02:09,280 --> 00:02:10,560
We are not going to use this
44
00:02:10,816 --> 00:02:13,120
You have serial camera
45
00:02:13,376 --> 00:02:13,888
Witches
46
00:02:14,656 --> 00:02:15,424
Let me show you
47
00:02:15,680 --> 00:02:16,192
It's
48
00:02:16,448 --> 00:02:16,960
This one
49
00:02:17,472 --> 00:02:20,032
0 camera is
50
00:02:20,544 --> 00:02:22,848
You can use this one to render the same
51
00:02:23,104 --> 00:02:24,128
Two cameras
52
00:02:24,384 --> 00:02:29,248
That we mimic the eyes it's going to do to run those from two camera
53
00:02:29,504 --> 00:02:30,528
Before you can news
54
00:02:30,784 --> 00:02:32,320
The output the Rhonda
55
00:02:32,576 --> 00:02:34,880
To create to create
56
00:02:35,136 --> 00:02:37,184
I like an effect of death
57
00:02:38,464 --> 00:02:42,560
For devices like VR headset
58
00:02:42,816 --> 00:02:45,120
Red and blue glasses cardboard
59
00:02:45,376 --> 00:02:47,680
Stuff like that you know you'll do a runner on
60
00:02:47,936 --> 00:02:50,240
I'm on the screen
61
00:02:50,496 --> 00:02:56,640
Newbury to Converse they're using a smartphone and we get one eye looking the round of 1 camera and
62
00:02:56,896 --> 00:02:57,408
Authorised
63
00:02:57,664 --> 00:02:59,968
Play looking there any of the other camera
64
00:03:00,224 --> 00:03:02,272
And we create a feeling
65
00:03:03,296 --> 00:03:06,368
Which is really cool for VR expenses and stuff like that
66
00:03:06,624 --> 00:03:09,184
I'm not going to use this one
67
00:03:10,208 --> 00:03:16,352
You have the cube camera the camera is going to do 6 runners 1411
68
00:03:16,608 --> 00:03:20,192
One on the left one on the right one on the top and one on the bottom
69
00:03:20,448 --> 00:03:23,008
Free create a reminder of the surrounding
70
00:03:23,520 --> 00:03:28,896
We're not going to use this but 3DS uses this to make a environment maps
71
00:03:29,408 --> 00:03:30,944
Things that can be used for
72
00:03:31,200 --> 00:03:37,344
We are reflection refraction for Shadows and stuff like that so we are going to talk about this in
73
00:03:37,600 --> 00:03:38,624
Later lessons
74
00:03:38,880 --> 00:03:40,416
But we are not going to use it
75
00:03:40,672 --> 00:03:44,000
Boss pacifica project44 fungicide
76
00:03:44,256 --> 00:03:45,280
Arsenal tickets
77
00:03:45,792 --> 00:03:49,632
The 3GS uses those cute Cameron we are going to talk about this
78
00:03:50,656 --> 00:03:55,008
The next one is autographic camera the Photographic camera over there
79
00:03:55,776 --> 00:03:58,848
Is used to create a reminder of the sea
80
00:03:59,104 --> 00:04:00,640
But without desperate
81
00:04:00,896 --> 00:04:04,736
In that if an object is very far but in front of the camera
82
00:04:04,992 --> 00:04:05,760
It will has
83
00:04:06,016 --> 00:04:07,040
The sin
84
00:04:07,296 --> 00:04:11,648
It will have the same size of the singer Drake very close to the camera
85
00:04:11,904 --> 00:04:17,791
You can do RTS game like do you know any of them know that Age of Empires is not
86
00:04:18,047 --> 00:04:18,559
3D
87
00:04:18,815 --> 00:04:19,583
Anyway
88
00:04:19,839 --> 00:04:21,631
The order drum from Deus Ex
89
00:04:21,887 --> 00:04:22,399
But
90
00:04:22,655 --> 00:04:27,263
The decides of the characters is always the same even if they are going further
91
00:04:27,775 --> 00:04:30,079
Clothing it's the same size
92
00:04:30,591 --> 00:04:31,871
Photographic purple
93
00:04:32,895 --> 00:04:34,687
And you don't have any best bits
94
00:04:35,455 --> 00:04:39,807
Obviously you have the perfectly cannot which is the one with him using
95
00:04:40,063 --> 00:04:45,439
But we haven't choose old development or so we go further and talk about the last parameter
96
00:04:45,695 --> 00:04:46,207
Here
97
00:04:48,511 --> 00:04:54,655
And yes let's use the autographic camera and the perfect come out these are the two we are going to
98
00:04:56,703 --> 00:05:02,847
First let's use let's talk about the best chicken wraps I have already made my starter run
99
00:05:03,103 --> 00:05:04,895
I don't need at the terminals I can
100
00:05:05,151 --> 00:05:05,663
Hayley
101
00:05:06,943 --> 00:05:08,735
If you want me to
102
00:05:11,807 --> 00:05:13,087
Here is our camera
103
00:05:13,343 --> 00:05:16,159
It's already said it's a little on the
104
00:05:16,671 --> 00:05:17,439
Underside
105
00:05:17,695 --> 00:05:19,487
Like I changed the position
106
00:05:19,743 --> 00:05:22,815
X y and L we can enjoy more
107
00:05:23,071 --> 00:05:23,839
Without you
108
00:05:24,351 --> 00:05:26,143
And the cube is the mesh
109
00:05:26,399 --> 00:05:29,215
And the mesh is being updated inside the
110
00:05:29,471 --> 00:05:31,775
That is commands
111
00:05:32,031 --> 00:05:33,055
Make you ill
112
00:05:33,311 --> 00:05:36,383
Turning anymore is not rotating anymore
113
00:05:36,895 --> 00:05:41,759
Let's keep the children station so we can enjoy like your animation detective stuff like that
114
00:05:43,295 --> 00:05:47,391
We didn't use all the possible parameters of test with camera
115
00:05:48,159 --> 00:05:53,279
Here is all the parameters and obviously as you can see we are missing to adn
116
00:05:53,791 --> 00:05:59,935
But still let's talk about the current are metals in case it wasn't clear enough when we first introduce the best
117
00:06:00,191 --> 00:06:00,703
Camera
118
00:06:01,215 --> 00:06:05,823
The first parameter is the Field of you actually eat 75
119
00:06:06,335 --> 00:06:07,615
These are degrees
120
00:06:08,895 --> 00:06:14,783
And it's the degrees it's the vertical vision angle it's how much you can see
121
00:06:15,039 --> 00:06:18,367
And it's the vertical not horizontal
122
00:06:18,623 --> 00:06:22,463
By default it's how 3G spy camera is working
123
00:06:22,719 --> 00:06:25,535
You have other environments but why not
124
00:06:25,791 --> 00:06:29,375
Where it's on the Oriental party
125
00:06:29,631 --> 00:06:30,143
Games
126
00:06:30,399 --> 00:06:33,215
That's works like this just like I think you're old Fallout
127
00:06:33,471 --> 00:06:35,007
I think her it's
128
00:06:35,263 --> 00:06:36,031
Horizontal
129
00:06:36,287 --> 00:06:39,871
The advantage and disadvantage when you're going to talk about this
130
00:06:40,127 --> 00:06:43,199
Just want to eat the vertical field of view
131
00:06:44,223 --> 00:06:49,599
75 is quite a lot meaning that if you have an object for me it's over there
132
00:06:49,855 --> 00:06:52,159
I will probably be able to look at it
133
00:06:52,415 --> 00:06:54,975
Actually as a human
134
00:06:55,231 --> 00:06:55,743
He loves you
135
00:06:55,999 --> 00:06:59,071
You can put your hand on your left you can see
136
00:06:59,327 --> 00:07:03,679
Look straight for what I can still see my hand I can perceive
137
00:07:05,215 --> 00:07:08,543
Oh yeah we have a huge free love you so maybe we could put something like
138
00:07:08,799 --> 00:07:09,823
That much
139
00:07:11,871 --> 00:07:18,015
Are we getting a very strange result accessories actually not working what is not working yeah it was
140
00:07:18,271 --> 00:07:24,415
How much is 3 of your 140 and as you can see the queue is very very
141
00:07:24,927 --> 00:07:26,975
I have a distortion happening
142
00:07:27,231 --> 00:07:29,279
And I created a video to show you that
143
00:07:30,303 --> 00:07:31,327
Yeah it is
144
00:07:31,583 --> 00:07:32,095
His
145
00:07:33,119 --> 00:07:36,447
As you can see I'm animating the Field of the inside of blender
146
00:07:36,703 --> 00:07:42,591
This is a very small feel of you I don't remember maybe it was like 25 maybe 59
147
00:07:43,103 --> 00:07:45,663
And this is a very large field of view
148
00:07:47,199 --> 00:07:49,759
And as you can see the tubes are all this
149
00:07:50,527 --> 00:07:54,111
This is due to the Rhonda being a rectangle
150
00:07:54,623 --> 00:07:55,391
This is
151
00:07:56,159 --> 00:07:59,231
The area where you randomly be random
152
00:07:59,487 --> 00:08:01,023
If you do like her
153
00:08:01,279 --> 00:08:02,815
Studio pizza grinder
154
00:08:03,071 --> 00:08:06,399
It will be squeezed into that stronger and this is why I object
155
00:08:06,655 --> 00:08:08,959
Get real small really small
156
00:08:09,215 --> 00:08:15,359
Can you get some distortion on operate on the right so you have to find the right value I recommend having something between
157
00:08:15,871 --> 00:08:16,639
45
158
00:08:18,175 --> 00:08:19,455
And 75
159
00:08:19,711 --> 00:08:22,527
70s 75 is actually quite
160
00:08:23,039 --> 00:08:25,855
Write 2 is this one so I can see audio breaks easily
161
00:08:26,111 --> 00:08:30,463
It's up to you we have to figure out and try to define the field of view
162
00:08:30,719 --> 00:08:34,047
At the beginning of your project because changing it
163
00:08:34,303 --> 00:08:36,607
Ring me that maybe you won't be able to see objects
164
00:08:36,863 --> 00:08:37,887
We could see
165
00:08:39,935 --> 00:08:41,215
Delta pharmacy
166
00:08:41,471 --> 00:08:44,543
Reason to but we are going to talk about this
167
00:08:45,055 --> 00:08:45,567
Later
168
00:08:46,335 --> 00:08:49,407
Resident permit Awards aspect ratio
169
00:08:49,663 --> 00:08:51,199
So it's just the weed
170
00:08:51,455 --> 00:08:52,223
Of the Rhondda
171
00:08:52,735 --> 00:08:53,247
Richard
172
00:08:53,503 --> 00:08:54,271
Whisper
173
00:08:54,527 --> 00:08:56,575
This is the width of the grandeur
174
00:08:56,831 --> 00:08:58,879
The Lady by the 8th of November
175
00:08:59,135 --> 00:09:04,767
You need to provide this because it might change in very specific situations
176
00:09:05,023 --> 00:09:11,167
We just want our coming out to show something on the Rend Collective you see the size of the runners
177
00:09:11,423 --> 00:09:12,959
Play we use the sizes
178
00:09:13,215 --> 00:09:14,239
Object
179
00:09:14,751 --> 00:09:15,519
Which I created
180
00:09:15,775 --> 00:09:21,919
Here and we put values temporary values that are 800 and 200 and 600
181
00:09:22,175 --> 00:09:24,479
Have you sleep to improve this
182
00:09:24,991 --> 00:09:26,015
So that the random
183
00:09:26,271 --> 00:09:27,551
All the room heaven
184
00:09:29,343 --> 00:09:31,391
These are the two weeks already used
185
00:09:32,927 --> 00:09:33,695
Let's talk about
186
00:09:33,951 --> 00:09:36,511
The two other parameters we have to add
187
00:09:37,023 --> 00:09:38,815
At the end or is my camera
188
00:09:39,839 --> 00:09:42,399
I will just zoom Al weekend
189
00:09:42,655 --> 00:09:43,167
Rated
190
00:09:44,191 --> 00:09:45,983
The two last parameter
191
00:09:46,751 --> 00:09:50,591
In the exam for something like this I think maybe one that then
192
00:09:51,103 --> 00:09:51,615
Let me check
193
00:09:52,127 --> 00:09:53,919
Yes 1 and 1000
194
00:09:54,431 --> 00:09:55,711
These are the knee
195
00:09:55,967 --> 00:09:57,503
And the four parameters
196
00:10:00,345 --> 00:10:02,248
Subtitled by
-♪ online-courses.club ♪-
We compress knowledge for you!
https://t.me/joinchat/ailxpXoW3JVjYzQ1
197
00:10:02,250 --> 00:10:00,831
Object
198
00:10:01,087 --> 00:10:02,623
Cloud engineer
199
00:10:02,879 --> 00:10:03,903
Further
200
00:10:04,159 --> 00:10:06,207
Done the One Show
201
00:10:06,719 --> 00:10:12,351
An object is between visible and non-visible well you will see just a part of the Opera
202
00:10:12,607 --> 00:10:16,959
What we can do here is try to shoot choose a value
203
00:10:17,215 --> 00:10:19,519
That will show that that affect
204
00:10:19,775 --> 00:10:22,079
Maybe if I put so my camera is that this
205
00:10:22,335 --> 00:10:22,847
Distance
206
00:10:23,359 --> 00:10:26,175
I can actually get the distance of the camera
207
00:10:26,431 --> 00:10:28,479
By using console log
208
00:10:28,991 --> 00:10:32,319
Camera position and if your neighbour we have the length
209
00:10:32,831 --> 00:10:34,367
Position is a vector
210
00:10:34,879 --> 00:10:37,951
If I get this ok this is the distance of the camera
211
00:10:38,463 --> 00:10:39,231
If I use
212
00:10:39,743 --> 00:10:41,791
This value in the farm
213
00:10:42,047 --> 00:10:42,815
Look at this
214
00:10:43,839 --> 00:10:46,143
As you can see the part of the queue
215
00:10:46,399 --> 00:10:47,679
Is being
216
00:10:47,935 --> 00:10:48,703
Invisible
217
00:10:49,215 --> 00:10:52,287
I can lower the value label that said to
218
00:10:53,311 --> 00:10:56,639
3.2 and a small top of the queue
219
00:10:57,407 --> 00:10:59,455
Which value should we put
220
00:10:59,711 --> 00:11:00,223
Here
221
00:11:00,991 --> 00:11:04,319
Me I want to see everything so maybe I should do something like this
222
00:11:05,599 --> 00:11:06,111
Yeah
223
00:11:06,879 --> 00:11:13,023
Very large hedgehog work let's see if it's working and I won't have
224
00:11:13,279 --> 00:11:15,071
Objects that just
225
00:11:15,583 --> 00:11:17,119
Disappear from my screen
226
00:11:17,631 --> 00:11:18,399
Do not do that
227
00:11:20,191 --> 00:11:26,335
It's a mistake because you're going to create a bug a glitch that we called Z
228
00:11:27,103 --> 00:11:28,895
That fighting happens when you
229
00:11:29,151 --> 00:11:32,991
To face to face this so imagine my tongue is blue
230
00:11:35,295 --> 00:11:36,831
Face ideas for this is the
231
00:11:37,343 --> 00:11:43,487
If they offer it's obviously this one that is being shown and this one is hidden by
232
00:11:43,999 --> 00:11:47,583
But if there are close which one is in front of the other
233
00:11:48,351 --> 00:11:49,887
It's obviously for us this way
234
00:11:50,143 --> 00:11:52,703
But if you do extreme value like this
235
00:11:53,215 --> 00:11:55,263
Your GP you will have trouble
236
00:11:55,519 --> 00:11:58,335
To guess which one is in front of the other
237
00:11:58,591 --> 00:11:59,359
Can we get
238
00:11:59,615 --> 00:12:00,383
A bug
239
00:12:00,895 --> 00:12:02,943
That looks I will open the Sydenham
240
00:12:03,711 --> 00:12:04,223
We look
241
00:12:06,271 --> 00:12:07,039
This
242
00:12:08,063 --> 00:12:09,599
You see the cliffs between them
243
00:12:10,367 --> 00:12:11,135
Is when
244
00:12:11,391 --> 00:12:17,535
Clean Spencer anything triangles that's it or to close one from the other
245
00:12:17,791 --> 00:12:18,559
Avoid this
246
00:12:19,071 --> 00:12:20,351
Another good example
247
00:12:23,679 --> 00:12:24,447
Yes
248
00:12:25,471 --> 00:12:28,799
There is a glitch here which is that fighting
249
00:12:29,055 --> 00:12:32,127
Been on a sheep with a video that sorry
250
00:12:33,663 --> 00:12:34,431
Which is a nice
251
00:12:37,759 --> 00:12:38,271
Great
252
00:12:39,295 --> 00:12:40,063
Which
253
00:12:40,575 --> 00:12:45,951
Why you should be put in your project how close it can I can get
254
00:12:46,463 --> 00:12:50,815
I think we're going to go for something like I lost it
255
00:12:51,071 --> 00:12:54,143
Yeah let's try to find something 0.1 is
256
00:12:54,399 --> 00:12:58,495
Very close we can get close to the cube without
257
00:12:58,751 --> 00:13:03,103
The cube disappearing and here we can use like 100 switch
258
00:13:03,615 --> 00:13:04,639
Probably too much
259
00:13:04,895 --> 00:13:07,455
But in case we want to come around
260
00:13:07,711 --> 00:13:09,759
Play away and look back at the scene
261
00:13:10,015 --> 00:13:10,527
IT support
262
00:13:11,039 --> 00:13:15,647
Set a point you think that's on nights it was on the right that you just change the volume
263
00:13:16,927 --> 00:13:23,071
Good thing with that is that you can automatically not from the object that are too far
264
00:13:23,327 --> 00:13:25,887
You can be good like I don't know if you're doing
265
00:13:26,143 --> 00:13:32,287
Mountains villages behind the montane in front of the mundane and clouds
266
00:13:32,543 --> 00:13:33,311
Very very fat
267
00:13:33,567 --> 00:13:34,847
That solution
268
00:13:35,103 --> 00:13:36,383
The things too far
269
00:13:36,639 --> 00:13:38,687
On the camera won't even be under
270
00:13:38,943 --> 00:13:42,271
It's OK because it was too far we are not supposed to see them
271
00:13:42,527 --> 00:13:44,063
It's up to you to find the right way
272
00:13:45,599 --> 00:13:47,647
Ok this was the perfect chicken
273
00:13:47,903 --> 00:13:49,183
All we had it added
274
00:13:49,439 --> 00:13:52,511
Here was those too well you have to provide this value
275
00:13:52,767 --> 00:13:55,839
IPhone 22 that then by default I think
276
00:13:56,095 --> 00:13:57,631
1 and 1000
277
00:13:57,887 --> 00:14:00,703
Now let's talk about the autograph
278
00:14:03,007 --> 00:14:09,151
Marie-france with the perfect come out is the lack of prospective in that an object in front of you
279
00:14:09,407 --> 00:14:11,711
Do you have the same size if you eat
280
00:14:11,967 --> 00:14:13,503
Very far from the car
281
00:14:14,271 --> 00:14:15,807
How can we use
282
00:14:19,647 --> 00:14:24,255
Let's talk about the pyramid us first we are going to come and the Plastic kennel
283
00:14:25,791 --> 00:14:31,935
I'm going to let the position because we can rotate move and not scare
284
00:14:32,191 --> 00:14:34,495
But we can rotate the camera
285
00:14:35,519 --> 00:14:39,359
Where is it best to camera on the North traffic cam
286
00:14:39,871 --> 00:14:41,663
And we are going to replace this
287
00:14:41,919 --> 00:14:46,527
The best way to come on just coming because we're getting back to it after
288
00:14:47,039 --> 00:14:48,319
Going to create a new one
289
00:14:48,575 --> 00:14:51,647
Conns camera equal in we are going to use do
290
00:14:51,903 --> 00:14:52,927
Photographic memory
291
00:14:54,207 --> 00:14:55,743
Oh so coffee
292
00:14:55,999 --> 00:14:56,511
Camera
293
00:14:58,303 --> 00:14:59,839
What about the parameters
294
00:15:00,095 --> 00:15:02,399
First we need to provide
295
00:15:04,447 --> 00:15:05,215
Cannabutter
296
00:15:05,471 --> 00:15:09,055
This is very strange but it's perfectly logical
297
00:15:09,311 --> 00:15:10,335
We're going to say
298
00:15:10,591 --> 00:15:12,639
Your camera is not doing like a coon
299
00:15:13,151 --> 00:15:15,711
Like that that looks like this
300
00:15:15,967 --> 00:15:20,319
It's more like a square a square a bath or a rectangular
301
00:15:20,575 --> 00:15:21,599
And it will run down
302
00:15:21,855 --> 00:15:22,367
This
303
00:15:22,879 --> 00:15:26,207
Parallel London
304
00:15:26,975 --> 00:15:30,559
Like disc do you have to specify the distance on the left
305
00:15:31,071 --> 00:15:32,351
In which we are under
306
00:15:32,607 --> 00:15:33,887
The distance on the right
307
00:15:34,143 --> 00:15:35,167
Wish you were here under
308
00:15:35,423 --> 00:15:37,215
On the top and on the bottom
309
00:15:37,727 --> 00:15:42,591
If you put suit value things we get small but you will cover a lot of and if you put
310
00:15:42,847 --> 00:15:44,127
Small value
311
00:15:44,383 --> 00:15:47,199
You just found a very small part of your sick
312
00:15:47,455 --> 00:15:48,223
Like this
313
00:15:50,271 --> 00:15:53,599
That's good song by you I don't know what exactly I'm supposed to put here
314
00:15:53,855 --> 00:15:54,879
So I would do just
315
00:15:55,135 --> 00:15:56,159
-1
316
00:15:56,415 --> 00:15:57,695
Then it's the right
317
00:15:57,951 --> 00:15:59,743
That's wrong with me
318
00:15:59,999 --> 00:16:01,023
Date me
319
00:16:03,583 --> 00:16:05,119
Right top and bottom
320
00:16:05,375 --> 00:16:06,399
Res photos
321
00:16:06,911 --> 00:16:07,423
Left
322
00:16:07,679 --> 00:16:08,447
-1
323
00:16:08,959 --> 00:16:09,471
Right
324
00:16:09,983 --> 00:16:10,495
1
325
00:16:11,263 --> 00:16:11,775
Stop
326
00:16:12,031 --> 00:16:13,055
It's a 1
327
00:16:13,311 --> 00:16:14,079
Durham
328
00:16:14,335 --> 00:16:15,359
-1
329
00:16:15,871 --> 00:16:16,383
Alright
330
00:16:16,639 --> 00:16:21,759
And the tools parameters of the near and the far and we know about those issues
331
00:16:22,527 --> 00:16:27,391
0.1 and 100 that just like the perfect of camera
332
00:16:28,671 --> 00:16:29,183
What do we
333
00:16:30,207 --> 00:16:31,487
Ok this is working
334
00:16:31,999 --> 00:16:33,023
As you can see
335
00:16:33,535 --> 00:16:35,583
The cube seems to be travelling
336
00:16:35,839 --> 00:16:37,887
That all the size of paradise
337
00:16:38,655 --> 00:16:40,703
Which is great it's exactly what we want
338
00:16:41,471 --> 00:16:42,751
Unfortunately
339
00:16:43,007 --> 00:16:43,775
The Cube
340
00:16:44,287 --> 00:16:45,567
Doesn't look like a tube
341
00:16:45,823 --> 00:16:49,407
As you can see it's more like a box that has been squeezed
342
00:16:49,663 --> 00:16:50,687
On the y-axis
343
00:16:51,455 --> 00:16:54,783
Actually I can show you even more don't do it but I will show you
344
00:16:55,039 --> 00:16:55,551
This
345
00:16:55,807 --> 00:16:57,087
Is Pluto smaller
346
00:16:57,343 --> 00:16:58,367
Render on the head
347
00:16:59,391 --> 00:17:00,415
That's the problem
348
00:17:00,671 --> 00:17:02,463
It seems that the remainder is
349
00:17:02,975 --> 00:17:05,023
Stretching the
350
00:17:05,279 --> 00:17:08,607
But the size of the canvas stretching our cube
351
00:17:08,863 --> 00:17:10,143
If I use a square
352
00:17:10,399 --> 00:17:12,703
My cube looks like a cube
353
00:17:13,215 --> 00:17:17,055
It's working fine but if I was something else like said the hate
354
00:17:17,311 --> 00:17:19,103
800 and 600
355
00:17:19,359 --> 00:17:21,407
I get a bad result like this
356
00:17:22,687 --> 00:17:24,479
This is pretty simple to understand
357
00:17:24,735 --> 00:17:26,271
You're doing a square
358
00:17:26,783 --> 00:17:28,319
Brenda look at this values
359
00:17:28,831 --> 00:17:30,879
I'm doing -1
360
00:17:31,135 --> 00:17:31,903
On the left
361
00:17:32,415 --> 00:17:33,695
Plus One on the
362
00:17:33,951 --> 00:17:34,975
It's like this
363
00:17:35,231 --> 00:17:38,815
Then plus one on the top and plus one on the bottom
364
00:17:39,071 --> 00:17:40,095
Sanderling
365
00:17:40,351 --> 00:17:44,703
Perfectly Square Rhonda of the scenes on the Canada St Andrews
366
00:17:44,959 --> 00:17:46,239
Getting everything
367
00:17:46,495 --> 00:17:48,031
That's visible in that Square
368
00:17:48,287 --> 00:17:49,567
And saving it to the right
369
00:17:49,823 --> 00:17:52,383
But my Rhondda is not a square
370
00:17:52,639 --> 00:17:54,431
I have to do something about
371
00:17:55,455 --> 00:17:58,015
The solution is actually to have the app
372
00:17:58,271 --> 00:17:59,551
Ratio of
373
00:17:59,807 --> 00:18:00,319
H
374
00:18:00,575 --> 00:18:01,343
Cannabis
375
00:18:01,599 --> 00:18:02,879
Randa
376
00:18:04,415 --> 00:18:08,511
We are going to calculate this and we already been actually for the camera
377
00:18:09,023 --> 00:18:10,303
You can do accounts
378
00:18:10,815 --> 00:18:12,607
Aspect ratio
379
00:18:13,119 --> 00:18:19,263
And the aspect ratio will be this with of the run / the date of the Rhondda
380
00:18:19,519 --> 00:18:20,031
Baby dungarees
381
00:18:20,287 --> 00:18:21,055
Right here
382
00:18:21,311 --> 00:18:23,103
Is going to be sizes
383
00:18:23,359 --> 00:18:23,871
That
384
00:18:25,663 --> 00:18:27,199
/ sizes
385
00:18:27,967 --> 00:18:28,479
Darts
386
00:18:30,783 --> 00:18:31,551
And this
387
00:18:31,807 --> 00:18:34,623
To use this recently have to multiply
388
00:18:35,391 --> 00:18:36,927
The horizontal
389
00:18:37,439 --> 00:18:43,071
That's if you love me it's not the end of you but the other isn't a Jew the temperature
390
00:18:43,583 --> 00:18:48,959
I don't like you but I know it's the reason that one that if you don't know just test
391
00:18:49,215 --> 00:18:51,263
Use the aspect ratio
392
00:18:51,519 --> 00:18:52,543
Let's say here
393
00:18:53,567 --> 00:18:54,335
And then
394
00:18:54,591 --> 00:18:57,151
Be careful when I'm going to put inside Swansea
395
00:18:57,407 --> 00:18:58,431
First parameter
396
00:18:58,687 --> 00:19:02,527
And now I'm going to use on the 2nd
397
00:19:03,295 --> 00:19:03,807
Like this
398
00:19:04,319 --> 00:19:05,343
I can do it here
399
00:19:06,367 --> 00:19:08,415
Is put the parameters
400
00:19:09,183 --> 00:19:09,951
Right here
401
00:19:10,719 --> 00:19:12,767
Like that so you can see more clearly
402
00:19:13,535 --> 00:19:15,327
And I be able to do me a little
403
00:19:15,839 --> 00:19:16,607
Yeah just like this
404
00:19:17,631 --> 00:19:19,423
I don't know if it's better
405
00:19:19,935 --> 00:19:20,447
Dundee
406
00:19:22,495 --> 00:19:25,567
Who is the result I just saved in as you can see
407
00:19:25,823 --> 00:19:27,871
And now have a cube
408
00:19:28,127 --> 00:19:31,199
What happens to you if you log the 80s
409
00:19:31,455 --> 00:19:32,223
Ratio
410
00:19:34,527 --> 00:19:39,391
My lock screen that is not working anymore I hate it I have to fix this
411
00:19:39,647 --> 00:19:45,023
Oh yeah let's see what we have in the ratio I have something like 1. something
412
00:19:45,279 --> 00:19:46,047
Which mean that
413
00:19:46,559 --> 00:19:47,327
Instead of
414
00:19:47,583 --> 00:19:49,887
- 1 I'm going to have
415
00:19:50,143 --> 00:19:50,911
Have more
416
00:19:51,167 --> 00:19:51,935
Which is going to be
417
00:19:53,983 --> 00:19:55,263
3333
418
00:19:55,519 --> 00:19:59,871
And here is going to be the opposite is going to be 1.33
419
00:20:00,127 --> 00:20:06,015
Which is perfect because we are going to Rhondda a little further on the left and a retail further on the right
420
00:20:06,527 --> 00:20:07,039
The
421
00:20:07,295 --> 00:20:09,599
The vertical dantdm change
422
00:20:09,855 --> 00:20:11,647
But this in exactly
423
00:20:11,903 --> 00:20:16,511
The rectangular of our Rhonda and we are doing a round of the scene like this
424
00:20:16,767 --> 00:20:18,815
Putting this inside the room
425
00:20:19,071 --> 00:20:20,095
It's working
426
00:20:21,631 --> 00:20:27,007
This is a way of doing it so you have a perfectly protected seen using
427
00:20:27,263 --> 00:20:28,287
Orthographic
428
00:20:28,543 --> 00:20:29,055
Camera
429
00:20:32,127 --> 00:20:32,639
Alright
430
00:20:33,151 --> 00:20:34,687
Let's get back
431
00:20:34,943 --> 00:20:41,087
To our best this was just an example I really wanted to show you the
432
00:20:42,367 --> 00:20:43,647
Because you might need it
433
00:20:43,903 --> 00:20:46,207
And can also be used to create effect
434
00:20:46,463 --> 00:20:47,487
Stuff like that so
435
00:20:47,743 --> 00:20:49,023
I really wanted to say to you
436
00:20:49,279 --> 00:20:53,119
Examples of over you can comment dispatch front keep it
437
00:20:53,375 --> 00:20:57,215
In the same page you are looking at right now you can also download the final
438
00:20:58,495 --> 00:21:01,311
Let's get back to the first camera which
439
00:21:01,567 --> 00:21:02,079
Ladies
440
00:21:02,335 --> 00:21:03,103
Ok cool
441
00:21:04,639 --> 00:21:07,967
This is great we are we have out of Tenerife
442
00:21:08,223 --> 00:21:09,759
Animation boots
443
00:21:10,015 --> 00:21:12,063
It's pretty hard to move around
444
00:21:12,319 --> 00:21:14,623
I would like to be able to control the camera
445
00:21:14,879 --> 00:21:15,903
And to me
446
00:21:16,416 --> 00:21:18,464
I don't know just move the camera
447
00:21:18,720 --> 00:21:21,536
So I can see my object from different point of view
448
00:21:21,792 --> 00:21:24,864
And 12 more control what's better than the mouse
449
00:21:25,120 --> 00:21:26,656
So yeah we are going to use the mouse
450
00:21:26,912 --> 00:21:29,472
Find with the mouse on the left I'm on the camera to go on the
451
00:21:29,728 --> 00:21:32,800
On the right go on the right up and down
452
00:21:33,824 --> 00:21:34,592
Get me to do this
453
00:21:34,848 --> 00:21:37,408
Commander
454
00:21:38,944 --> 00:21:43,808
Move the camera feed Facebook so we are going to remove
455
00:21:44,064 --> 00:21:46,368
This and this I would just come and then
456
00:21:47,136 --> 00:21:48,672
We have a better one
457
00:21:48,928 --> 00:21:49,696
Starting
458
00:21:50,208 --> 00:21:56,352
Right now I'm just trying front of the queue and we are also going to study the animals
459
00:21:56,608 --> 00:21:58,144
Turn on The Cube which is right here
460
00:21:58,400 --> 00:22:00,960
Ok so just come on inside the tick function
461
00:22:01,216 --> 00:22:05,056
Just come under mesh rotation y equal 11
462
00:22:05,568 --> 00:22:10,944
I will let the elapsed time even if I don't think we're going to need it until the end of the year
463
00:22:11,712 --> 00:22:16,832
Alright so we're at the Beginning you remember with the in front
464
00:22:17,344 --> 00:22:21,440
The camera which which looks more like a square with her going to improve this
465
00:22:21,696 --> 00:22:22,464
Maybe you
466
00:22:24,000 --> 00:22:25,280
For the camera position
467
00:22:30,144 --> 00:22:31,936
If I want to move my camera
468
00:22:32,448 --> 00:22:33,216
When I move
469
00:22:33,472 --> 00:22:35,008
My mouse Microsoft
470
00:22:35,264 --> 00:22:39,360
I need to know the coordinates of my mouth of the closer
471
00:22:39,616 --> 00:22:44,224
I'm going to put my god over
472
00:22:45,248 --> 00:22:51,392
I will put it at the beginning of the risen right after the import import around
473
00:22:51,648 --> 00:22:54,208
The talk I'm going to create something like closer
474
00:22:55,488 --> 00:22:59,584
I'm going to do everything I need about the the curse
475
00:23:00,864 --> 00:23:03,680
JavaScript so this is not even ask if it has
476
00:23:03,936 --> 00:23:05,472
For now nothing to do
477
00:23:05,728 --> 00:23:09,312
Prettiest how to get the coordinates of the mouse
478
00:23:09,568 --> 00:23:11,104
What we can do with window
479
00:23:11,616 --> 00:23:17,248
And we want to listen to an event so we want the the brother to tell her when an event occurs
480
00:23:17,504 --> 00:23:20,320
To do that you're going to use add event reason
481
00:23:21,088 --> 00:23:24,416
Add entries now you have to provide the name of the event
482
00:23:24,672 --> 00:23:26,464
And Forest it's mousemove
483
00:23:26,720 --> 00:23:29,792
Well we want the to be allowed
484
00:23:30,048 --> 00:23:31,840
Hello to man the mouse move
485
00:23:32,096 --> 00:23:33,120
Sweden like this
486
00:23:33,376 --> 00:23:35,168
Mochi Mochi no that case
487
00:23:35,680 --> 00:23:36,704
Ugly
488
00:23:37,216 --> 00:23:38,240
You have to do it
489
00:23:38,752 --> 00:23:44,896
And then the second parameter you provide a function and going to use federal because I always use Cut the Rope
490
00:23:45,664 --> 00:23:48,736
I have reason for these but it's not the subject of the risen
491
00:23:48,992 --> 00:23:52,064
An inverse function you were going to pass
492
00:23:53,088 --> 00:23:53,856
Coronavirus
493
00:23:54,112 --> 00:23:57,696
I'm going to call it Evans version can't eat whatever you want
494
00:24:01,024 --> 00:24:02,304
Inside doors
495
00:24:03,072 --> 00:24:04,096
Semicolon
496
00:24:04,352 --> 00:24:05,632
We're going to log
497
00:24:09,472 --> 00:24:11,776
Event that client seeks
498
00:24:12,032 --> 00:24:13,568
And it's up with that
499
00:24:13,824 --> 00:24:18,176
You can put the Evan can try if you want but let's start with Evan trend
500
00:24:18,688 --> 00:24:19,712
And look at this
501
00:24:20,224 --> 00:24:21,504
Check your console
502
00:24:21,760 --> 00:24:24,320
Open your desk tools go to the console tab
503
00:24:25,088 --> 00:24:28,672
And here are the coordinates of the cursor
504
00:24:28,928 --> 00:24:29,696
Under
505
00:24:29,952 --> 00:24:33,280
X-axis which is working just fine when I'm at the
506
00:24:33,536 --> 00:24:34,048
Corner
507
00:24:34,304 --> 00:24:35,840
I have something like 0 and I
508
00:24:36,352 --> 00:24:37,632
Close to the Roaches
509
00:24:37,888 --> 00:24:41,728
And at the right part and going to close to 1000
510
00:24:42,240 --> 00:24:44,800
Ok great and you can taste obviously the why
511
00:24:45,824 --> 00:24:46,592
Axis
512
00:24:47,360 --> 00:24:50,944
Which is important because look at this when I'm at the top
513
00:24:51,456 --> 00:24:52,992
It's cross 20
514
00:24:53,504 --> 00:24:56,576
And the lower Gate I get the higher the volume
515
00:24:56,832 --> 00:24:58,112
Which is like the way
516
00:24:58,880 --> 00:25:00,160
The value is going up
517
00:25:00,928 --> 00:25:02,464
When the cursor is going down
518
00:25:02,976 --> 00:25:05,280
Dumb keep in mind this going to you
519
00:25:05,536 --> 00:25:07,584
We are going to have a problem with
520
00:25:11,168 --> 00:25:12,960
We could use those value
521
00:25:13,472 --> 00:25:15,776
We have talked about the ex on it for now
522
00:25:16,288 --> 00:25:20,640
We could use this pixel value but I don't like to use pizza for you because
523
00:25:20,896 --> 00:25:23,200
If my screen is bigger look at this
524
00:25:23,968 --> 00:25:24,480
No idea
525
00:25:24,736 --> 00:25:25,504
2000
526
00:25:26,016 --> 00:25:27,808
Which is a lot if my screen smaller
527
00:25:28,064 --> 00:25:30,624
Because it's a mobile or small screen I don't know
528
00:25:31,136 --> 00:25:34,208
Don't get BP on 800
529
00:25:34,720 --> 00:25:36,512
I don't like this me what I want
530
00:25:36,768 --> 00:25:38,048
Is something that that
531
00:25:38,304 --> 00:25:42,144
An MP 2 of 1 something that goes from 0
532
00:25:43,680 --> 00:25:44,448
To start with
533
00:25:44,960 --> 00:25:45,984
To do that
534
00:25:46,240 --> 00:25:51,616
First we're going to discuss great somewhere to store the value so I'm going to pray thanks
535
00:25:52,896 --> 00:25:53,920
Equinox
536
00:25:54,432 --> 00:25:55,712
Looks like we did for the size
537
00:25:55,968 --> 00:25:58,016
We saved the season
538
00:25:59,040 --> 00:26:03,136
It's not mandatory but always organising and type objects
539
00:26:03,648 --> 00:26:05,696
We are going to Craig Castle darts
540
00:26:05,952 --> 00:26:06,464
X
541
00:26:06,720 --> 00:26:10,560
10m cassette at y = 0 and you're going to up
542
00:26:11,840 --> 00:26:15,168
If you want to start working to Newcastle that x
543
00:26:15,424 --> 00:26:18,240
Equal this value you're looking right now
544
00:26:19,008 --> 00:26:19,776
I will put it there
545
00:26:21,056 --> 00:26:22,848
Then you can just log it again
546
00:26:24,896 --> 00:26:26,176
Console.log
547
00:26:26,944 --> 00:26:27,456
Like this
548
00:26:28,480 --> 00:26:31,040
As you can see I have seen things
549
00:26:31,296 --> 00:26:33,600
I'm saving the value in Cyprus
550
00:26:34,112 --> 00:26:35,392
I have to update it
551
00:26:36,160 --> 00:26:38,720
What I was saying is that I prefer to have
552
00:26:38,976 --> 00:26:39,488
Values
553
00:26:41,024 --> 00:26:42,304
From 0 to 1
554
00:26:42,560 --> 00:26:45,632
If possible values that have an amplitude of 1
555
00:26:46,144 --> 00:26:47,680
The how to do this
556
00:26:47,936 --> 00:26:49,472
Where actually we can delete
557
00:26:50,240 --> 00:26:51,776
Do this easily by
558
00:26:52,032 --> 00:26:54,592
Dividing by the size
559
00:26:54,848 --> 00:26:55,872
I love you both
560
00:26:56,640 --> 00:26:59,456
I'm already have something like this
561
00:27:00,480 --> 00:27:02,016
I think we are going to use this yet
562
00:27:02,272 --> 00:27:04,320
We are going to use sizes
563
00:27:04,832 --> 00:27:05,856
That we
564
00:27:06,624 --> 00:27:07,392
It's not
565
00:27:07,648 --> 00:27:09,184
The size of the viewport
566
00:27:09,440 --> 00:27:11,232
Because the the sizes
567
00:27:11,488 --> 00:27:12,512
As you can see here
568
00:27:12,768 --> 00:27:13,792
We provided
569
00:27:14,048 --> 00:27:15,584
800 and 600
570
00:27:15,840 --> 00:27:18,144
But later later son
571
00:27:18,400 --> 00:27:23,520
This canvas will have the size of the View bar so we can use these values
572
00:27:24,032 --> 00:27:26,080
Alright and we are just going to tour
573
00:27:26,336 --> 00:27:28,128
On this area for now
574
00:27:29,152 --> 00:27:29,920
I repeat
575
00:27:30,176 --> 00:27:31,200
In a few lessons
576
00:27:31,456 --> 00:27:34,272
This conversation is Wonder we take the whole of UK
577
00:27:34,784 --> 00:27:38,112
So you won't have any problems about the sizes are going
578
00:27:38,368 --> 00:27:40,160
Above the volume etc
579
00:27:40,672 --> 00:27:41,952
As you can see
580
00:27:42,720 --> 00:27:47,072
I divided desert events the Evans client exercises
581
00:27:47,328 --> 00:27:47,840
With
582
00:27:48,352 --> 00:27:51,168
Here it is I have something close to zero
583
00:27:51,680 --> 00:27:53,472
I have something close to one
584
00:27:53,984 --> 00:27:56,544
Jason can go below above
585
00:27:56,800 --> 00:27:58,336
One but it's not
586
00:27:58,848 --> 00:28:00,640
Something that goes from 0 to
587
00:28:01,664 --> 00:28:02,176
That's good
588
00:28:02,432 --> 00:28:03,712
And we can use this
589
00:28:03,968 --> 00:28:05,504
But we will go even further
590
00:28:05,760 --> 00:28:07,040
I want this value
591
00:28:07,296 --> 00:28:07,808
To go
592
00:28:08,320 --> 00:28:08,832
To be
593
00:28:09,600 --> 00:28:11,392
Negative and positive
594
00:28:12,928 --> 00:28:17,280
I want to to be able to go to the negative and
595
00:28:18,560 --> 00:28:19,328
Do that
596
00:28:19,584 --> 00:28:20,352
I'm going to you
597
00:28:20,608 --> 00:28:22,144
- 0 points
598
00:28:22,912 --> 00:28:28,032
Y - 0.5 is because my value is going from 0
599
00:28:28,544 --> 00:28:29,056
21
600
00:28:29,824 --> 00:28:33,408
When doing - 0.5 / - 4
601
00:28:33,664 --> 00:28:34,432
-
602
00:28:34,944 --> 00:28:35,712
0.5
603
00:28:36,224 --> 00:28:36,992
Positive
604
00:28:37,248 --> 00:28:38,016
0 point
605
00:28:39,296 --> 00:28:45,440
As positive as negative which is even better for us because we won't have a camera at the end to be able to
606
00:28:45,696 --> 00:28:47,232
As much on the lead
607
00:28:47,488 --> 00:28:48,512
Dundarave
608
00:28:50,304 --> 00:28:52,608
You don't have to do this but I like to do this
609
00:28:53,888 --> 00:29:00,032
Let's test it if I move my cursor on the left as something very close to -
610
00:29:00,288 --> 00:29:00,800
0.5
611
00:29:01,056 --> 00:29:04,384
Can you find move to the right I have something very close to
612
00:29:04,640 --> 00:29:07,456
0.5 to positive 0.5
613
00:29:07,712 --> 00:29:13,344
She's a very good value you have many ways of doing it we are going to do that again in a later
614
00:29:13,600 --> 00:29:15,392
Licenced operator if it's not
615
00:29:15,648 --> 00:29:16,416
Very clear
616
00:29:17,440 --> 00:29:18,464
If we been here
617
00:29:19,744 --> 00:29:23,072
Play let's do the same for the y-axis time going to change
618
00:29:23,584 --> 00:29:25,376
Why inside the cursor
619
00:29:25,632 --> 00:29:28,448
And also for the client or Evan client
620
00:29:28,704 --> 00:29:29,216
Why
621
00:29:29,472 --> 00:29:31,520
Instead of dividing by
622
00:29:31,776 --> 00:29:34,592
Phrases with I'm going to divide by size
623
00:29:35,104 --> 00:29:35,616
Kent
624
00:29:37,152 --> 00:29:38,944
Let's test the value because
625
00:29:39,200 --> 00:29:40,480
We can do mistakes
626
00:29:41,504 --> 00:29:45,344
If I'm on the top I have -0.5
627
00:29:47,648 --> 00:29:48,672
If I go
628
00:29:48,928 --> 00:29:49,696
The burren
629
00:29:49,952 --> 00:29:50,976
I have something there
630
00:29:51,232 --> 00:29:53,024
Bruce 20.5
631
00:29:53,280 --> 00:29:54,048
Which is great
632
00:29:56,096 --> 00:29:56,608
Ok
633
00:29:57,632 --> 00:30:00,704
I think this is fine we have a castle garden
634
00:30:01,216 --> 00:30:04,544
We can remove the console you don't need it anymore
635
00:30:05,312 --> 00:30:06,336
American movie
636
00:30:07,616 --> 00:30:08,128
Further
637
00:30:10,176 --> 00:30:11,456
Almost there
638
00:30:13,248 --> 00:30:17,856
It's not just to this but again me about herself coordinates which are very very good
639
00:30:18,624 --> 00:30:19,904
What we can do now
640
00:30:20,160 --> 00:30:23,488
Inside the function because we want to do
641
00:30:23,744 --> 00:30:25,792
That's before each random
642
00:30:26,048 --> 00:30:28,352
We're going to update the camera
643
00:30:29,120 --> 00:30:31,424
A bacon and going to be very simple
644
00:30:31,680 --> 00:30:37,056
What do you have to do it change the position on the camera at it has to be on the right
645
00:30:38,848 --> 00:30:41,664
Let's try to find them without looking at the slide
646
00:30:42,432 --> 00:30:43,456
On my screen
647
00:30:43,712 --> 00:30:49,856
Pause the video try to find the right axis it's a good angle size takes time to to guess the writer
648
00:30:50,112 --> 00:30:51,648
And get back to the video
649
00:30:52,160 --> 00:30:53,440
Are we true the solution
650
00:30:53,696 --> 00:30:55,232
You have to do camera that
651
00:30:55,488 --> 00:30:56,256
Position
652
00:30:57,024 --> 00:31:01,632
It's going to be obviously on the x-axis so there were no trapped
653
00:31:02,144 --> 00:31:04,960
Almost I'm going to use that
654
00:31:05,216 --> 00:31:05,984
X
655
00:31:06,240 --> 00:31:08,288
And let's just start with
656
00:31:10,848 --> 00:31:11,872
And here you go
657
00:31:12,128 --> 00:31:12,896
It's moving
658
00:31:13,152 --> 00:31:13,920
It's working fine
659
00:31:15,456 --> 00:31:16,480
Let's order
660
00:31:16,736 --> 00:31:20,576
Moran teacher by multiplying this value by Anna Marie
661
00:31:22,880 --> 00:31:25,696
See I'm going further and it's working perfectly
662
00:31:26,464 --> 00:31:29,280
Let's do the same for the y-axis
663
00:31:30,560 --> 00:31:31,072
Why
664
00:31:31,328 --> 00:31:31,840
Why
665
00:31:32,352 --> 00:31:33,888
I would keep the same altitude
666
00:31:34,144 --> 00:31:35,168
Look at this
667
00:31:35,680 --> 00:31:36,192
Nice
668
00:31:36,960 --> 00:31:38,240
But there is a problem
669
00:31:38,496 --> 00:31:41,056
Making memories moving congratulations this is a good start
670
00:31:42,336 --> 00:31:46,176
Extreme look at the y-axis when I move left and right
671
00:31:46,688 --> 00:31:50,528
The camera is going in the castle that direction
672
00:31:50,784 --> 00:31:51,808
But when I move
673
00:31:52,320 --> 00:31:53,600
Up and down
674
00:31:53,856 --> 00:31:57,184
It's more like the cube which is following the
675
00:31:57,440 --> 00:31:58,208
The Castle
676
00:31:58,720 --> 00:31:59,744
Remember what we said
677
00:32:00,512 --> 00:32:01,024
Earlier
678
00:32:01,792 --> 00:32:03,328
The events
679
00:32:03,584 --> 00:32:04,608
Client
680
00:32:04,864 --> 00:32:07,424
Is being positive when going down
681
00:32:08,192 --> 00:32:09,472
But in 3G
682
00:32:09,728 --> 00:32:12,544
The y-axis is considered to go
683
00:32:12,800 --> 00:32:13,312
Up
684
00:32:13,824 --> 00:32:16,384
We have to invert something somewhere
685
00:32:16,640 --> 00:32:18,432
You have multiple choices
686
00:32:18,688 --> 00:32:20,224
You can do it inside do
687
00:32:20,480 --> 00:32:21,760
Mousemove event
688
00:32:22,016 --> 00:32:24,832
You can do it while while using it
689
00:32:26,112 --> 00:32:27,648
I don't have a preference
690
00:32:27,904 --> 00:32:29,952
You can do let me see
691
00:32:30,464 --> 00:32:34,048
Yeah and exemplar of the week in the Evans let's do it in the air
692
00:32:35,328 --> 00:32:39,168
Yeah I told you we weren't going back to there but we are
693
00:32:39,424 --> 00:32:42,240
Stop instead of just putting my nose hair
694
00:32:42,496 --> 00:32:44,800
Mathematically wrong you have to put
695
00:32:45,312 --> 00:32:46,848
This is around everything
696
00:32:47,360 --> 00:32:48,384
Great stress map
697
00:32:49,408 --> 00:32:51,200
Who is now in the gaiety
698
00:32:51,712 --> 00:32:54,272
Navigating I hope it's a lot
699
00:32:54,528 --> 00:32:55,808
I'm going to save
700
00:32:56,320 --> 00:32:57,344
Look at the results
701
00:32:57,600 --> 00:32:58,112
Yeah
702
00:32:59,136 --> 00:33:00,416
The camera is moving
703
00:33:01,696 --> 00:33:02,464
It's working now
704
00:33:02,720 --> 00:33:05,536
You can see the cube from different angles which is
705
00:33:07,328 --> 00:33:08,608
Let's go even further
706
00:33:09,120 --> 00:33:11,936
We're going to ask the camera to look
707
00:33:12,192 --> 00:33:13,472
Add our cube
708
00:33:13,728 --> 00:33:14,752
After moving it
709
00:33:15,008 --> 00:33:17,824
The lights we always centre on The Cube
710
00:33:19,104 --> 00:33:20,896
Regardless of the camera position
711
00:33:21,152 --> 00:33:23,712
Do that she would simply called cameras
712
00:33:23,968 --> 00:33:24,480
Look
713
00:33:24,736 --> 00:33:26,528
At you know this one
714
00:33:27,040 --> 00:33:29,344
And we need to provide a vector 3 here
715
00:33:29,600 --> 00:33:32,416
We can just great one you 3.0 Victor 3
716
00:33:34,464 --> 00:33:35,488
Like this
717
00:33:35,744 --> 00:33:41,120
And if you don't put anything in the values of Vector free it's the same as pudding
718
00:33:41,376 --> 00:33:42,656
000
719
00:33:42,912 --> 00:33:44,960
We can just do that I say
720
00:33:45,728 --> 00:33:47,008
Yeah this is working fine
721
00:33:47,520 --> 00:33:50,336
Let's add more pictures
722
00:33:50,592 --> 00:33:51,360
It's a 10
723
00:33:52,128 --> 00:33:53,664
Yes he's working perfect
724
00:33:54,688 --> 00:33:55,968
H camera
725
00:33:56,224 --> 00:33:56,992
Moving
726
00:33:57,248 --> 00:33:59,552
Like you wear on the plane
727
00:33:59,808 --> 00:34:02,624
Black aeroplane the flat plane that for a plane that can fly
728
00:34:03,136 --> 00:34:09,280
So yeah it's working fine instead of creating an empty vector free on each frame
729
00:34:09,536 --> 00:34:15,680
Because this is what we are going we are doing right now I can use the cube so it's going to be mesh
730
00:34:15,936 --> 00:34:18,752
Because we are not moving the Tube and The Cube
731
00:34:19,008 --> 00:34:20,032
Add the centre
732
00:34:20,288 --> 00:34:23,104
Of the scene which we get the same result
733
00:34:30,016 --> 00:34:31,040
Yvonne Fair
734
00:34:32,064 --> 00:34:34,368
This is great but I cannot see YouTube
735
00:34:34,624 --> 00:34:37,440
I have the front face here
736
00:34:38,976 --> 00:34:45,120
I can see on the side the other sign that took the time but I cannot see behind that you because of my camera
737
00:34:45,376 --> 00:34:45,888
Commission right now
738
00:34:46,656 --> 00:34:48,960
What's we are going to the right right now
739
00:34:49,216 --> 00:34:52,544
To practise for exercising and do some mathematics
740
00:34:52,800 --> 00:34:56,128
Going to rotate a camera on a circle
741
00:34:56,640 --> 00:34:57,664
Orangutan
742
00:34:57,920 --> 00:35:00,736
This is our cool right now we are just doing this
743
00:35:01,760 --> 00:35:02,528
It's like that
744
00:35:02,784 --> 00:35:04,320
I want to go for a run
745
00:35:05,856 --> 00:35:07,392
Is going to be trigonometry
746
00:35:07,904 --> 00:35:08,928
With customers
747
00:35:09,440 --> 00:35:10,208
Penis
748
00:35:10,464 --> 00:35:11,232
Enma
749
00:35:11,488 --> 00:35:16,864
By the way my Sky because I want to be able to do like a full Revolution around the Earth
750
00:35:17,120 --> 00:35:18,144
Full Revolution
751
00:35:18,400 --> 00:35:19,168
Not more
752
00:35:19,424 --> 00:35:20,192
Nutless
753
00:35:20,448 --> 00:35:24,544
Thought if you remember like we saw in the previous one if you use gas
754
00:35:24,800 --> 00:35:25,568
Value
755
00:35:26,336 --> 00:35:29,408
Get something like this with the value increase
756
00:35:29,664 --> 00:35:32,480
You get this and if you use seen
757
00:35:32,992 --> 00:35:39,136
Have the same value you get almost opposite because it starts at 0 miles
758
00:35:39,392 --> 00:35:40,672
We're starting at 1
759
00:35:41,184 --> 00:35:43,744
And you get the same waves
760
00:35:44,000 --> 00:35:47,328
When you combined them I said use the question news
761
00:35:47,584 --> 00:35:48,608
On an axis
762
00:35:49,120 --> 00:35:51,424
And the seniors on another axis
763
00:35:51,936 --> 00:35:53,728
With the same finger
764
00:35:53,984 --> 00:35:56,288
Get the position on a circle
765
00:35:56,800 --> 00:35:57,824
3 fails
766
00:35:58,592 --> 00:36:00,128
Tesco's questions
767
00:36:00,640 --> 00:36:03,200
What are the axes we are going to move
768
00:36:03,456 --> 00:36:04,480
This is Yorkshire
769
00:36:05,504 --> 00:36:10,368
What's are the axes to position our camera around the tube
770
00:36:10,880 --> 00:36:11,904
Is it going to be
771
00:36:13,184 --> 00:36:13,952
Like on the plane
772
00:36:14,208 --> 00:36:16,000
There are not going
773
00:36:16,512 --> 00:36:19,328
And don't just about position like this
774
00:36:19,584 --> 00:36:20,352
Is going to
775
00:36:20,608 --> 00:36:21,120
X
776
00:36:21,376 --> 00:36:23,424
Which is this one it's the opposite
777
00:36:23,680 --> 00:36:24,448
This one
778
00:36:25,984 --> 00:36:28,288
Which is going that way
779
00:36:30,080 --> 00:36:30,592
X
780
00:36:31,104 --> 00:36:31,616
ND
781
00:36:32,896 --> 00:36:37,504
Going to position on
782
00:36:37,760 --> 00:36:39,552
On a circle by using mass
783
00:36:40,320 --> 00:36:41,088
That
784
00:36:42,624 --> 00:36:44,672
And for the other one which is not
785
00:36:45,440 --> 00:36:49,024
This one we are going to focus on the Z2 it's going to be
786
00:36:49,280 --> 00:36:51,072
It's not going to be why it's going to be easy
787
00:36:51,328 --> 00:36:52,608
I'm going to use math
788
00:36:53,120 --> 00:36:57,216
You can mix them actually you will get to very similar
789
00:36:58,240 --> 00:37:02,848
Just like the boys and girl that was changed and we are going to provide a value
790
00:37:03,104 --> 00:37:05,664
It has to be the same value so that our
791
00:37:05,920 --> 00:37:12,064
Result will be a position on a circle we are going to do that multiple times don't worry at the end you will know
792
00:37:12,320 --> 00:37:13,088
Trigonometry
793
00:37:13,344 --> 00:37:14,624
If you don't already know
794
00:37:14,880 --> 00:37:20,000
What angle are going to use when I'm going to use curse or x
795
00:37:20,256 --> 00:37:26,400
Because when I move look at the movement not to get the camera up the current camera animation when I move my
796
00:37:26,656 --> 00:37:27,168
Like this
797
00:37:27,424 --> 00:37:29,984
I want to move around the Cure
798
00:37:30,752 --> 00:37:34,080
I'm going to use Casa x and I'm going to use the same value
799
00:37:34,336 --> 00:37:35,360
On both
800
00:37:35,616 --> 00:37:37,152
Sin and cos
801
00:37:37,408 --> 00:37:37,920
Like this
802
00:37:39,200 --> 00:37:39,968
Wait for it
803
00:37:40,224 --> 00:37:42,272
Ok so it seems to be working
804
00:37:42,528 --> 00:37:44,832
The result is very strange
805
00:37:45,088 --> 00:37:50,464
Normative upper right now first the amplitude is very small doing this
806
00:37:50,976 --> 00:37:51,488
Baghdad
807
00:37:52,000 --> 00:37:55,840
We want to do full Revolution around the cube to fix that
808
00:37:56,096 --> 00:38:02,240
Just need to multiply the value of the angle we provide two SIM and curse
809
00:38:02,496 --> 00:38:04,032
Could use something like 10
810
00:38:05,568 --> 00:38:07,104
Right now it's working
811
00:38:07,360 --> 00:38:09,408
Very strange but it's working Romania
812
00:38:09,664 --> 00:38:11,200
Tron you know the first one
813
00:38:11,712 --> 00:38:12,736
The big boss at the end
814
00:38:13,504 --> 00:38:15,552
I'm too old
815
00:38:16,064 --> 00:38:18,368
So yeah it's working
816
00:38:18,624 --> 00:38:20,416
We're going to change this one after
817
00:38:20,672 --> 00:38:23,488
The poem right now is that for your very close
818
00:38:23,744 --> 00:38:25,536
2 hour 12 cubed
819
00:38:26,048 --> 00:38:29,632
Because sin and cos return value that goes from
820
00:38:29,888 --> 00:38:30,912
-1
821
00:38:31,424 --> 00:38:32,960
Two positive 1
822
00:38:33,728 --> 00:38:36,800
Ok so we need to do is go further
823
00:38:37,056 --> 00:38:39,360
By multiplying the result
824
00:38:39,616 --> 00:38:41,920
Not the England take the result of May
825
00:38:42,432 --> 00:38:43,456
Skin and me
826
00:38:43,712 --> 00:38:44,224
Cos
827
00:38:45,760 --> 00:38:46,272
Something
828
00:38:46,528 --> 00:38:48,576
I don't know maybe 3 minutes
829
00:38:50,112 --> 00:38:51,392
Here you go
830
00:38:52,672 --> 00:38:53,696
She's working now
831
00:38:53,952 --> 00:39:00,096
We can go old faces argue that we know we cannot see the top one in the bottom one but we are going to see
832
00:39:01,120 --> 00:39:07,264
Just program is that it's not doing one revolution and doing a lot of
833
00:39:07,520 --> 00:39:10,080
If I go from here at 1
834
00:39:10,336 --> 00:39:10,848
2
835
00:39:11,104 --> 00:39:11,616
3
836
00:39:11,872 --> 00:39:13,920
456
837
00:39:14,176 --> 00:39:14,944
4 faces
838
00:39:15,200 --> 00:39:16,736
Meaning that one
839
00:39:16,992 --> 00:39:17,504
Revolution
840
00:39:18,784 --> 00:39:20,064
How to do that
841
00:39:20,576 --> 00:39:24,672
Where I already told you about this we are going to use math
842
00:39:24,928 --> 00:39:31,072
Because pi is you can use pi to do half a rotation
843
00:39:31,328 --> 00:39:32,608
We're going to the mass
844
00:39:32,864 --> 00:39:35,168
And setup 10 we're going to use math
845
00:39:35,424 --> 00:39:35,936
Bye
846
00:39:36,448 --> 00:39:37,984
X
847
00:39:38,752 --> 00:39:40,544
Cos we're not half
848
00:39:41,056 --> 00:39:43,360
Rotation between food rotation
849
00:39:43,872 --> 00:39:44,640
Look at this
850
00:39:44,896 --> 00:39:46,688
I have restarted the left
851
00:39:47,200 --> 00:39:48,224
1
852
00:39:48,480 --> 00:39:48,992
2
853
00:39:49,248 --> 00:39:49,760
3
854
00:39:50,016 --> 00:39:50,528
4
855
00:39:50,784 --> 00:39:52,064
I get back to the first
856
00:39:52,576 --> 00:39:54,368
I have a full rotation
857
00:39:54,880 --> 00:39:55,904
Which is really nice
858
00:39:56,672 --> 00:39:57,696
Sterling to rupee
859
00:39:58,976 --> 00:40:04,096
Play we are almost there what we need to do now is be about to see above and below
860
00:40:04,352 --> 00:40:06,144
And to do that were going to play with you
861
00:40:06,400 --> 00:40:06,912
Why
862
00:40:07,424 --> 00:40:07,936
Position
863
00:40:08,960 --> 00:40:12,544
I'm going to use y equal and very simple calories
864
00:40:12,800 --> 00:40:13,824
Castle
865
00:40:14,080 --> 00:40:16,640
Why because I'm forget we are using on l o x
866
00:40:16,896 --> 00:40:18,688
The second one
867
00:40:19,200 --> 00:40:20,224
It's used as a while
868
00:40:20,736 --> 00:40:21,504
With your son
869
00:40:21,760 --> 00:40:22,528
Vertical
870
00:40:23,040 --> 00:40:24,832
It's working but the volume
871
00:40:25,088 --> 00:40:29,952
Two small letter x I don't know five maybe I mean on the way
872
00:40:30,720 --> 00:40:31,744
It's working great
873
00:40:33,280 --> 00:40:34,560
As it can take in the oven
874
00:40:35,072 --> 00:40:35,584
Below
875
00:40:36,096 --> 00:40:36,608
Underlay
876
00:40:36,864 --> 00:40:39,168
Underwrite enter autorun
877
00:40:40,448 --> 00:40:43,520
Ok that's great don't forget to put the look at
878
00:40:44,032 --> 00:40:46,080
After a dating the position
879
00:40:46,336 --> 00:40:52,480
You say you coming out look at this and then you move it it will not look at the things you
880
00:40:56,576 --> 00:40:57,088
Ok
881
00:40:58,112 --> 00:40:59,392
We could go even further
882
00:40:59,648 --> 00:41:02,976
Michael think we'll be able to go to The Cube
883
00:41:03,232 --> 00:41:04,512
NB to go back
884
00:41:04,768 --> 00:41:08,352
Smoothie to add some easy and stuff like that if you know that those
885
00:41:08,864 --> 00:41:09,888
But it's
886
00:41:10,144 --> 00:41:11,680
It's too long it's too hard
887
00:41:12,448 --> 00:41:13,984
What we can do is use
888
00:41:14,240 --> 00:41:19,872
Butane controls inside 3GS because yes 3GS has written
889
00:41:20,128 --> 00:41:23,712
We just have to Instant yet the right person controls
890
00:41:23,968 --> 00:41:26,784
Any we have the same kind of result and even more
891
00:41:27,296 --> 00:41:30,112
I need to go let's see all the controls we can you
892
00:41:31,136 --> 00:41:32,416
Go to the documentation
893
00:41:32,672 --> 00:41:33,696
And Simply Red
894
00:41:34,208 --> 00:41:34,720
Control
895
00:41:36,256 --> 00:41:37,024
With a mess
896
00:41:38,048 --> 00:41:39,584
Anything anyway
897
00:41:40,096 --> 00:41:46,240
Here are all the controls were going to talk about all of them but we are going to use
898
00:41:46,496 --> 00:41:47,008
1 of
899
00:41:48,800 --> 00:41:49,568
Toyota
900
00:41:50,080 --> 00:41:53,407
The first one is device orientation control
901
00:41:54,175 --> 00:41:58,783
This one is used when you're beautiful is a choice but it's mostly
902
00:41:59,039 --> 00:42:00,063
Smartphone like this
903
00:42:00,319 --> 00:42:06,463
When you when you use the device orientation controls on a smartphone that has
904
00:42:06,719 --> 00:42:12,863
Base iron edition will be able to control the camera and you will be able to see the things moving while
905
00:42:13,119 --> 00:42:14,143
Move your camera like this
906
00:42:14,399 --> 00:42:15,423
Which is very annoying
907
00:42:15,679 --> 00:42:16,447
Really
908
00:42:17,215 --> 00:42:18,239
You can do with that
909
00:42:18,495 --> 00:42:22,591
It's bedtime you again sometime by by using it
910
00:42:23,103 --> 00:42:24,127
The problem is
911
00:42:24,383 --> 00:42:27,455
Currently at the moment so where I'm regarding this
912
00:42:27,711 --> 00:42:28,479
Are us
913
00:42:28,735 --> 00:42:32,831
Stopped supporting device orientation I don't know why
914
00:42:34,367 --> 00:42:35,647
Bother me a lot
915
00:42:35,903 --> 00:42:41,279
Because we could do that really cool things with it but device on patient
916
00:42:41,535 --> 00:42:42,815
Work on IOS
917
00:42:44,351 --> 00:42:46,655
That said let's talk about flight control
918
00:42:47,167 --> 00:42:49,471
Starting the same order by letter
919
00:42:49,727 --> 00:42:51,007
Play a flight controller
920
00:42:51,519 --> 00:42:57,663
We are going to understand each time you have examples
921
00:42:57,919 --> 00:43:03,039
Condition where I didn't use the example because I'm using a computer
922
00:43:03,295 --> 00:43:05,599
I don't have device on kitchen or on the computer
923
00:43:05,855 --> 00:43:08,415
Butterfly control you can test the example
924
00:43:09,695 --> 00:43:13,279
Pause the video that things about and you get something like this
925
00:43:14,047 --> 00:43:15,327
Open 80
926
00:43:17,375 --> 00:43:23,519
I can fly I can a spaceship I can go down but also I can rotate like this
927
00:43:24,031 --> 00:43:25,055
Do a barrel roll
928
00:43:25,311 --> 00:43:25,823
Has it
929
00:43:26,335 --> 00:43:27,359
Yeah I'm really too
930
00:43:29,663 --> 00:43:30,431
Starbucks
931
00:43:30,943 --> 00:43:32,223
This is flight control
932
00:43:32,479 --> 00:43:35,807
Should I should I be more like a spaceship control bitwine
933
00:43:36,831 --> 00:43:38,111
The next one is
934
00:43:39,647 --> 00:43:41,183
The song control
935
00:43:41,439 --> 00:43:45,279
Don't get too excited this is probably not what you you're thinking
936
00:43:48,351 --> 00:43:50,911
First-person control is like
937
00:43:51,167 --> 00:43:51,935
Flight control
938
00:43:52,447 --> 00:43:54,751
But you cannot change the app
939
00:43:55,007 --> 00:43:59,359
Axis mean it's like a bird you're on seabird doing this all the time
940
00:43:59,615 --> 00:44:00,895
I've been upside down
941
00:44:01,151 --> 00:44:02,943
So this is the result you get
942
00:44:03,199 --> 00:44:07,551
This week's useful for plane if you cannot do a barrel ok
943
00:44:07,807 --> 00:44:09,855
Yes I know I have trouble seeing bearable
944
00:44:12,159 --> 00:44:18,303
It has nothing to do with FPS game it's not first-person shooter style it's true
945
00:44:18,559 --> 00:44:21,119
A bird or plane that cannot do this
946
00:44:22,399 --> 00:44:23,423
Alright next one
947
00:44:24,703 --> 00:44:27,007
Going to be Punto pointer
948
00:44:27,263 --> 00:44:29,055
Control this one is really cool
949
00:44:30,335 --> 00:44:31,615
The wrong
950
00:44:33,407 --> 00:44:33,919
Yeah that
951
00:44:35,967 --> 00:44:36,735
Pointer lock
952
00:44:36,991 --> 00:44:37,503
Looks
953
00:44:37,759 --> 00:44:38,527
Practise
954
00:44:40,575 --> 00:44:41,343
This is a mess
955
00:44:42,111 --> 00:44:43,391
I can go for
956
00:44:44,159 --> 00:44:47,231
Backward if you're testing this example you can use them
957
00:44:47,743 --> 00:44:50,303
So far me that Tuesday 4 it's going to be
958
00:44:51,839 --> 00:44:54,655
Where the wasd
959
00:44:54,911 --> 00:44:56,959
I'm using French keyboard
960
00:44:57,471 --> 00:44:58,495
And I know you can see
961
00:44:58,751 --> 00:45:02,079
Sorry it's nothing like the same later it's harder for us
962
00:45:02,335 --> 00:45:03,103
You always have
963
00:45:03,359 --> 00:45:03,871
Troubles
964
00:45:04,127 --> 00:45:05,663
Can you can drop a Deuce
965
00:45:06,175 --> 00:45:07,455
Unfortunately
966
00:45:07,711 --> 00:45:13,855
The pointer of controls is all about making the mouse disappear because as you can see there is no more
967
00:45:14,111 --> 00:45:15,135
Party on the screen
968
00:45:16,159 --> 00:45:19,231
Getting the mouse movement even if you cannot see it
969
00:45:19,487 --> 00:45:20,767
To update a camera
970
00:45:21,279 --> 00:45:27,423
What you are looking at my no it's not just the class being instantiated it's also
971
00:45:27,679 --> 00:45:29,215
The devil could this example
972
00:45:29,471 --> 00:45:30,239
I did more
973
00:45:30,495 --> 00:45:35,871
Like a controller to keyboard and dating the player according to the keyboard
974
00:45:36,127 --> 00:45:38,943
When do player press Space Jam
975
00:45:39,199 --> 00:45:41,247
Having some kind of corrosion
976
00:45:41,759 --> 00:45:44,063
Let me show you if I go to the queue on
977
00:45:44,319 --> 00:45:46,111
But I can't jump on the tube
978
00:45:46,367 --> 00:45:47,647
I stay on The Cube
979
00:45:47,903 --> 00:45:49,695
Can play in try to get a
980
00:45:51,231 --> 00:45:52,511
Can you see that outside
981
00:45:52,767 --> 00:45:54,303
Ring challenge
982
00:45:55,327 --> 00:45:58,655
I would not choose this one because
983
00:45:58,911 --> 00:46:03,775
Fitting doors the mouse movement and looking the mask is not that hard
984
00:46:04,031 --> 00:46:05,311
Jasper
985
00:46:05,823 --> 00:46:09,919
I put the link of the dapi following this in Javascript
986
00:46:10,175 --> 00:46:10,943
Pizza
987
00:46:11,455 --> 00:46:12,735
Next one is
988
00:46:12,991 --> 00:46:17,343
Big control and Islam is really great and really heavy
989
00:46:18,111 --> 00:46:19,135
Hobby control
990
00:46:19,391 --> 00:46:19,903
Control
991
00:46:20,415 --> 00:46:21,695
Look like this
992
00:46:26,559 --> 00:46:27,583
You get something
993
00:46:28,351 --> 00:46:29,119
It's me
994
00:46:30,399 --> 00:46:31,423
You can rotate
995
00:46:31,935 --> 00:46:32,703
You can now
996
00:46:33,471 --> 00:46:33,983
Like this
997
00:46:35,263 --> 00:46:36,287
You cannot go
998
00:46:36,543 --> 00:46:42,687
Below the floor cannot go above the angular can you can I go upside down
999
00:46:42,943 --> 00:46:44,479
Just like zooming in
1000
00:46:44,735 --> 00:46:45,247
Enderman
1001
00:46:45,503 --> 00:46:47,551
It has nothing to do with those
1002
00:46:47,807 --> 00:46:48,575
Pirate
1003
00:46:48,831 --> 00:46:49,343
Pregnant
1004
00:46:49,599 --> 00:46:54,207
Sorry it's all about the camera with man so this one is really
1005
00:46:54,719 --> 00:46:56,511
And we are going to use this one to get
1006
00:46:58,559 --> 00:47:01,119
Any of the next one is going to be
1007
00:47:01,375 --> 00:47:05,471
Trackball control travel control is like I'll be controlled
1008
00:47:07,263 --> 00:47:11,359
There is no name it but this I'm going up up and I can
1009
00:47:11,615 --> 00:47:13,151
Keep running like this
1010
00:47:13,663 --> 00:47:19,039
Indefinitely so if you don't have like a floor and a sky and you want the user to be able to do
1011
00:47:19,295 --> 00:47:19,807
Lupin
1012
00:47:20,063 --> 00:47:21,087
Looking like this
1013
00:47:23,903 --> 00:47:24,927
Trouble
1014
00:47:26,719 --> 00:47:32,095
You're so have another controls had his name transform controls but this has nothing to do with
1015
00:47:32,351 --> 00:47:32,863
Camera
1016
00:47:33,375 --> 00:47:33,887
Alright
1017
00:47:34,399 --> 00:47:34,911
This
1018
00:47:35,167 --> 00:47:37,215
Transform control
1019
00:47:37,471 --> 00:47:38,239
Let you do things
1020
00:47:38,751 --> 00:47:39,263
Like this
1021
00:47:39,775 --> 00:47:41,567
I can move the queue
1022
00:47:42,079 --> 00:47:46,687
Can you like an idiot so I can create an easy tool use in transformer
1023
00:47:46,943 --> 00:47:48,991
Log in to talk about this better
1024
00:47:49,503 --> 00:47:51,807
Not the point in Douglas
1025
00:47:52,831 --> 00:47:53,343
Going to
1026
00:47:53,599 --> 00:47:54,879
For later the sun
1027
00:47:55,135 --> 00:47:56,159
And the last control
1028
00:47:56,671 --> 00:47:58,207
Just like transform controls
1029
00:47:58,463 --> 00:48:00,511
Has nothing to do with the camera
1030
00:48:01,023 --> 00:48:02,303
The move object
1031
00:48:04,095 --> 00:48:07,423
Let's see on the on the plane facing the correct
1032
00:48:08,447 --> 00:48:10,239
Move objects by using drugs
1033
00:48:10,495 --> 00:48:12,287
It has nothing to do with a camera
1034
00:48:12,543 --> 00:48:13,055
Fox
1035
00:48:14,335 --> 00:48:15,871
Let's use the Abbey controls
1036
00:48:16,127 --> 00:48:21,759
Always controls as you so privacy is very similar to what we did in the lasagna
1037
00:48:23,295 --> 00:48:24,319
But better
1038
00:48:24,575 --> 00:48:25,343
Does better
1039
00:48:26,367 --> 00:48:29,439
Better future I can go above there is a limit and you
1040
00:48:29,695 --> 00:48:32,255
Really small and we're going to implement this
1041
00:48:33,023 --> 00:48:33,791
Let's go
1042
00:48:36,095 --> 00:48:36,607
10
1043
00:48:39,679 --> 00:48:44,287
Stop first we're going to comment the part where we update the camera
1044
00:48:45,311 --> 00:48:49,919
In the tick function because the camera is going to be handled by this class
1045
00:48:50,431 --> 00:48:55,551
Alright so we don't want to to mix our a date our way of
1046
00:48:55,807 --> 00:48:58,623
Updating the camera with the Abbey controls way
1047
00:48:58,879 --> 00:49:00,159
Come on this part
1048
00:49:00,415 --> 00:49:01,439
And Commander Luke
1049
00:49:01,951 --> 00:49:02,975
I command every
1050
00:49:03,743 --> 00:49:04,511
Can remove it
1051
00:49:06,047 --> 00:49:08,607
What I get is my camera facing
1052
00:49:09,887 --> 00:49:12,703
How do we intervensi 8ds
1053
00:49:13,215 --> 00:49:14,239
Orbit control
1054
00:49:14,495 --> 00:49:16,543
Unfortunately it's not going to be
1055
00:49:16,799 --> 00:49:17,567
That is
1056
00:49:18,335 --> 00:49:21,151
The obby controls class cannot be accessed
1057
00:49:22,175 --> 00:49:24,223
Tree.org control
1058
00:49:26,527 --> 00:49:27,807
Cancel that Logan
1059
00:49:28,319 --> 00:49:28,831
3D
1060
00:49:29,087 --> 00:49:29,855
Oh beach
1061
00:49:30,623 --> 00:49:31,135
Control
1062
00:49:31,903 --> 00:49:32,927
It's just
1063
00:49:33,183 --> 00:49:34,207
And as you can see
1064
00:49:34,463 --> 00:49:35,487
I get Andy
1065
00:49:36,255 --> 00:49:37,023
Becontree
1066
00:49:37,279 --> 00:49:39,071
Is part of the documentation
1067
00:49:39,583 --> 00:49:41,631
It's party 3DS but it's not
1068
00:49:41,887 --> 00:49:45,727
Inside the three viable when you import it just like this
1069
00:49:46,239 --> 00:49:47,775
What are we going to do
1070
00:49:48,031 --> 00:49:50,591
Well because we are using webpack
1071
00:49:50,847 --> 00:49:52,383
With models
1072
00:49:52,639 --> 00:49:56,223
We have access to very specific modules
1073
00:49:56,479 --> 00:49:56,991
Inside
1074
00:49:57,247 --> 00:49:58,015
Node module
1075
00:49:58,527 --> 00:50:04,671
This is one will use this way of constructor webpack npm modules
1076
00:50:04,927 --> 00:50:05,439
Like that
1077
00:50:05,695 --> 00:50:08,255
Actually you can find it
1078
00:50:08,511 --> 00:50:10,303
I'm going to show you where it is
1079
00:50:11,327 --> 00:50:13,887
Nothing to do it on your side just look at my screen
1080
00:50:14,143 --> 00:50:15,423
I'm going to try
1081
00:50:15,935 --> 00:50:19,263
I'm going to examples always forget
1082
00:50:19,519 --> 00:50:22,079
The bath is going to be GSM
1083
00:50:22,591 --> 00:50:23,615
Then control
1084
00:50:25,151 --> 00:50:25,663
Then
1085
00:50:26,431 --> 00:50:31,551
Pointer lock it's not the right on sorry it's a bit control don't watch this life
1086
00:50:32,063 --> 00:50:33,343
Going to be a control
1087
00:50:33,599 --> 00:50:34,367
Radio
1088
00:50:34,879 --> 00:50:37,439
We have also the tights group on my phone trying to talk about
1089
00:50:38,207 --> 00:50:41,279
Wimborne this class which is in non-module
1090
00:50:41,535 --> 00:50:42,559
3GS
1091
00:50:42,815 --> 00:50:44,607
Examples GSM
1092
00:50:44,863 --> 00:50:49,215
Controls my controls all you have to write is important
1093
00:50:50,239 --> 00:50:52,543
Use this
1094
00:50:53,055 --> 00:50:53,823
Controls
1095
00:50:54,591 --> 00:50:55,359
Like this
1096
00:50:56,127 --> 00:50:57,919
Don't forget the semicolon
1097
00:50:58,431 --> 00:50:59,455
From
1098
00:50:59,711 --> 00:51:00,479
And you will do
1099
00:51:01,503 --> 00:51:02,527
We just said
1100
00:51:02,783 --> 00:51:03,295
Without
1101
00:51:03,551 --> 00:51:05,343
The normal juice bar
1102
00:51:06,367 --> 00:51:07,135
Ok don't
1103
00:51:07,391 --> 00:51:08,415
Node modules
1104
00:51:10,463 --> 00:51:11,999
Dart examples
1105
00:51:12,511 --> 00:51:15,327
Sorry not that / GSM
1106
00:51:15,583 --> 00:51:17,375
Flash controls
1107
00:51:17,887 --> 00:51:18,655
Orbit
1108
00:51:19,679 --> 00:51:20,447
Controls
1109
00:51:20,703 --> 00:51:21,983
That Jazz
1110
00:51:22,495 --> 00:51:25,567
And this will give you access to the class
1111
00:51:26,079 --> 00:51:26,591
Weather
1112
00:51:26,847 --> 00:51:27,871
Writing
1113
00:51:28,127 --> 00:51:31,967
So we not remove the three and as you can see if I got
1114
00:51:32,223 --> 00:51:32,735
Right
1115
00:51:32,991 --> 00:51:34,527
Yes I have access to
1116
00:51:35,295 --> 00:51:37,599
I don't understand this good anyway
1117
00:51:37,855 --> 00:51:41,183
I don't have anything on you
1118
00:51:41,695 --> 00:51:45,023
This is fine we can now use this constructor
1119
00:51:45,279 --> 00:51:45,791
This
1120
00:51:46,047 --> 00:51:46,559
Class
1121
00:51:47,327 --> 00:51:48,095
Thorpeness
1122
00:51:48,351 --> 00:51:54,239
Create our orbit control and we are going to create it somewhere after the camera
1123
00:51:55,263 --> 00:51:56,287
Yeah we can do it
1124
00:51:56,543 --> 00:52:00,383
They're just after the camera I'm going to do controls
1125
00:52:01,919 --> 00:52:02,687
Increase
1126
00:52:03,711 --> 00:52:06,783
Are Beats or I think I would just cut it controls
1127
00:52:07,551 --> 00:52:10,367
Controls equal is going to be
1128
00:52:10,623 --> 00:52:11,135
New
1129
00:52:11,647 --> 00:52:12,671
Hobby control
1130
00:52:13,183 --> 00:52:14,719
Controls without
1131
00:52:14,975 --> 00:52:19,071
Bible it's just my controls because we imported
1132
00:52:19,327 --> 00:52:20,607
The Hobbit controls
1133
00:52:20,863 --> 00:52:21,375
Only
1134
00:52:24,959 --> 00:52:29,311
Need to provide two things to that class it's going to be your camera
1135
00:52:29,823 --> 00:52:34,943
Because I'll be control is going to update a camera you have to say this is a camera you have to a date
1136
00:52:35,199 --> 00:52:36,991
And you also have to provide
1137
00:52:37,503 --> 00:52:40,831
A Dom element and by dominant I mean an animal
1138
00:52:41,087 --> 00:52:42,111
Somewhere in
1139
00:52:42,623 --> 00:52:43,903
The beach
1140
00:52:44,415 --> 00:52:48,255
What would you serve as a reference to put a mouse event
1141
00:52:49,791 --> 00:52:50,303
Because
1142
00:52:50,559 --> 00:52:56,703
Hobby controls is going to do the same things with with you which is listen to Mouse move but other
1143
00:52:56,959 --> 00:52:57,727
Landslide
1144
00:52:58,239 --> 00:53:00,543
ASDA Mouse
1145
00:53:00,799 --> 00:53:04,639
And even the touch because you can use the obby controls with a touch device
1146
00:53:05,151 --> 00:53:07,711
How come your smartphone iPad stuff like that
1147
00:53:07,967 --> 00:53:09,247
We are going to you
1148
00:53:09,759 --> 00:53:10,783
The canvas
1149
00:53:11,295 --> 00:53:14,367
And we already have our conversation where like yeah
1150
00:53:14,623 --> 00:53:15,647
That's the campus
1151
00:53:16,671 --> 00:53:18,975
Just send the cannabis like this
1152
00:53:19,231 --> 00:53:20,511
And look at the result
1153
00:53:21,279 --> 00:53:22,047
Dragon Drive
1154
00:53:22,303 --> 00:53:25,119
Press and drag and drop and as you can see
1155
00:53:25,375 --> 00:53:27,167
No control over my camera
1156
00:53:27,423 --> 00:53:27,935
Just
1157
00:53:28,959 --> 00:53:29,727
So you can
1158
00:53:30,495 --> 00:53:32,031
Dragon drop
1159
00:53:32,543 --> 00:53:33,055
Dragon drop
1160
00:53:33,567 --> 00:53:35,871
Drag and drop with the right click
1161
00:53:36,127 --> 00:53:37,919
Richmond moving like on the plane
1162
00:53:40,479 --> 00:53:41,759
You can zoom in
1163
00:53:42,015 --> 00:53:42,783
Zoom out
1164
00:53:43,039 --> 00:53:44,319
Wisdom of the week
1165
00:53:45,343 --> 00:53:51,487
You can also change the default target as I can see my control seems to be looking at the centre of the same by
1166
00:53:51,999 --> 00:53:55,071
You can start by changing the controls that
1167
00:53:55,327 --> 00:53:57,375
Target which is a vector
1168
00:53:58,399 --> 00:53:58,911
Change
1169
00:53:59,167 --> 00:54:03,007
It's axis and I can change like the y axis and put
1170
00:54:03,263 --> 00:54:05,823
Petite tops with slightly above Mike
1171
00:54:06,335 --> 00:54:08,383
Unfortunately nothing is working
1172
00:54:08,639 --> 00:54:10,687
It's because when you change the target
1173
00:54:10,943 --> 00:54:14,271
You have to update the controls and we can do that bye
1174
00:54:14,527 --> 00:54:15,551
Calling
1175
00:54:16,575 --> 00:54:17,343
Like this
1176
00:54:18,111 --> 00:54:20,671
I'm looking above so if I
1177
00:54:21,695 --> 00:54:23,487
Unless above you can see
1178
00:54:23,743 --> 00:54:25,535
I'm just looking right above the
1179
00:54:26,303 --> 00:54:27,839
Let's not use this
1180
00:54:29,375 --> 00:54:30,655
Let's go home
1181
00:54:31,679 --> 00:54:36,287
As you can see this is working just fine but it's kind of hearts in that
1182
00:54:36,543 --> 00:54:39,359
Smooth real life just as I say
1183
00:54:39,615 --> 00:54:40,895
It stopped by faster
1184
00:54:41,407 --> 00:54:44,223
It's read like the movement of the mouse
1185
00:54:44,479 --> 00:54:49,343
We can add what we call damping and we saw the dumping in the example
1186
00:54:49,599 --> 00:54:50,367
Which is right here
1187
00:54:52,159 --> 00:54:53,183
There is a damping
1188
00:54:53,439 --> 00:54:55,743
Which means that there is like a Next Generation
1189
00:54:55,999 --> 00:55:01,119
And also friction something like this I don't know the exact calculation behind the formula they use
1190
00:55:01,375 --> 00:55:01,887
But
1191
00:55:03,167 --> 00:55:04,191
We really small
1192
00:55:04,703 --> 00:55:06,239
Ok so let's add this damn
1193
00:55:06,751 --> 00:55:08,031
What did MPs
1194
00:55:08,287 --> 00:55:08,799
Brighton
1195
00:55:09,055 --> 00:55:11,359
You just have to say controls
1196
00:55:11,871 --> 00:55:13,151
Enable
1197
00:55:13,663 --> 00:55:15,199
Denting I think
1198
00:55:15,455 --> 00:55:18,783
It's a brilliant so you'll have to pass it to
1199
00:55:22,879 --> 00:55:25,183
Seems to be working
1200
00:55:25,695 --> 00:55:26,719
That's strange
1201
00:55:27,487 --> 00:55:29,023
As soon as I stop
1202
00:55:29,279 --> 00:55:30,559
Dragging and dropping
1203
00:55:32,607 --> 00:55:34,399
The problem is that the damping
1204
00:55:34,655 --> 00:55:38,751
Has 20 cure even if my mouth is an dragon dropping
1205
00:55:40,031 --> 00:55:41,567
The controls need
1206
00:55:41,823 --> 00:55:43,871
It needs to be updated
1207
00:55:44,127 --> 00:55:45,663
On each frame
1208
00:55:46,431 --> 00:55:48,479
You know two of The Dumping to
1209
00:55:48,735 --> 00:55:50,015
And to do that
1210
00:55:50,271 --> 00:55:52,831
What do you need to do is go to your tic function
1211
00:55:53,855 --> 00:55:58,719
And in the trust as a camera part of before doing the Rhondda as a West
1212
00:55:58,975 --> 00:56:04,863
I'm going to do a date controls in all you have to do is called control starts update
1213
00:56:05,375 --> 00:56:07,167
If you are using the dentist
1214
00:56:07,423 --> 00:56:09,983
Don't forget to update the controls
1215
00:56:10,239 --> 00:56:11,007
On each
1216
00:56:11,263 --> 00:56:12,287
Frame
1217
00:56:13,055 --> 00:56:13,823
Look at this
1218
00:56:14,335 --> 00:56:15,103
I now have
1219
00:56:15,359 --> 00:56:15,871
Control
1220
00:56:16,895 --> 00:56:18,943
With damping with which food
1221
00:56:19,199 --> 00:56:19,711
Really cool
1222
00:56:20,223 --> 00:56:20,735
Regret
1223
00:56:22,271 --> 00:56:28,415
Domini other properties methods stuff like that in the oven controls what
1224
00:56:28,671 --> 00:56:29,695
Recommend is too always
1225
00:56:29,951 --> 00:56:31,999
Read the documentation
1226
00:56:32,255 --> 00:56:34,303
No that goes
1227
00:56:34,559 --> 00:56:37,375
Function 18
1228
00:56:37,887 --> 00:56:41,727
Just read the the difference of properties
1229
00:56:41,983 --> 00:56:42,751
Then we know that
1230
00:56:43,007 --> 00:56:46,591
You can control the zoom zoom speed and zoom
1231
00:56:46,847 --> 00:56:52,735
Like to the floor and you can go below the floor stuff like that and you can control the damping if it's
1232
00:56:52,991 --> 00:56:55,807
Very very smooth then being or not
1233
00:56:56,063 --> 00:56:57,087
Ok great
1234
00:56:58,623 --> 00:57:02,463
When to use building controls and when to use custom controls
1235
00:57:02,975 --> 00:57:07,839
It's really depends on you on the project on the limitation on stuff like
1236
00:57:09,887 --> 00:57:12,447
One controls can do everything you need
1237
00:57:12,703 --> 00:57:13,215
Music
1238
00:57:13,727 --> 00:57:19,871
Alright if it's has no withdrawal it's not wavy in terms of wait for the file for the
1239
00:57:20,127 --> 00:57:24,223
Life story and and just use it
1240
00:57:24,479 --> 00:57:24,991
But
1241
00:57:25,503 --> 00:57:28,319
You have that say one feature missing in the control
1242
00:57:28,575 --> 00:57:34,719
I don't know if you'd like to change your limit of supply that you cannot change the limit of the
1243
00:57:35,743 --> 00:57:37,791
Well you will have to redo everything on your own
1244
00:57:38,047 --> 00:57:44,191
So you will have to dive into the class and change this class so we can handle
1245
00:57:44,447 --> 00:57:45,215
This features
1246
00:57:45,471 --> 00:57:46,495
This feature you mean
1247
00:57:46,751 --> 00:57:50,335
It's really up to you just check if the controls
1248
00:57:50,591 --> 00:57:52,127
You're going to use as
1249
00:57:52,383 --> 00:57:53,407
All the features
83509
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.