Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
In this lesson we are going to talk about
Camera
We have been using One camera which is a perfect camera in the previous selection
And we are going to go a little further and Discover other use age of the camera
We already have hours
Start up running obviously if you need
Helps to run the Startup you can use this link
Right on the listener
You are looking
Right now
Can you see exactly what you have to do to run this
Ok great
Let's talk about camera
If you look at the documentation the 3DS documentation you after links as always
At the bottom of the page you're looking
Hang up
It's not the right one so it's inside the
Cameras
You have exactly the same
You have all the links below
On the documentation you can do such a small camera you will see that there is a lot
Upcoming
We're going to talk about all of them but we are only going to use two of them
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
The first one we are going to see is the camera just
Camera
This is an abstract class you're not supposed to use the camera
Diarrhoea
Did the other 11 + like coming in
I haven't talked about the red but you got it there
Camera to camera auto graphics
From the can
It's just an abstract class don't use it down
Tara cameras this one is interesting
It's to Rhonda the scene
From multiple cameras on specific areas of the Rhondda this what you can have like
The part of Miranda on this part another run down this path and other Rhonda on Bicester
With different point of view
This can be useful if you're doing like a old multiplayer games where we were multiple
People playing
With different controls on the same screen same screen the screen the screen goes
You can do that by using a rectum
We are not going to use this
You have serial camera
Witches
Let me show you
It's
This one
0 camera is
You can use this one to render the same
Two cameras
That we mimic the eyes it's going to do to run those from two camera
Before you can news
The output the Rhonda
To create to create
I like an effect of death
For devices like VR headset
Red and blue glasses cardboard
Stuff like that you know you'll do a runner on
I'm on the screen
Newbury to Converse they're using a smartphone and we get one eye looking the round of 1 camera and
Authorised
Play looking there any of the other camera
And we create a feeling
Which is really cool for VR expenses and stuff like that
I'm not going to use this one
You have the cube camera the camera is going to do 6 runners 1411
One on the left one on the right one on the top and one on the bottom
Free create a reminder of the surrounding
We're not going to use this but 3DS uses this to make a environment maps
Things that can be used for
We are reflection refraction for Shadows and stuff like that so we are going to talk about this in
Later lessons
But we are not going to use it
Boss pacifica project44 fungicide
Arsenal tickets
The 3GS uses those cute Cameron we are going to talk about this
The next one is autographic camera the Photographic camera over there
Is used to create a reminder of the sea
But without desperate
In that if an object is very far but in front of the camera
It will has
The sin
It will have the same size of the singer Drake very close to the camera
You can do RTS game like do you know any of them know that Age of Empires is not
3D
Anyway
The order drum from Deus Ex
But
The decides of the characters is always the same even if they are going further
Clothing it's the same size
Photographic purple
And you don't have any best bits
Obviously you have the perfectly cannot which is the one with him using
But we haven't choose old development or so we go further and talk about the last parameter
Here
And yes let's use the autographic camera and the perfect come out these are the two we are going to
First let's use let's talk about the best chicken wraps I have already made my starter run
I don't need at the terminals I can
Hayley
If you want me to
Here is our camera
It's already said it's a little on the
Underside
Like I changed the position
X y and L we can enjoy more
Without you
And the cube is the mesh
And the mesh is being updated inside the
That is commands
Make you ill
Turning anymore is not rotating anymore
Let's keep the children station so we can enjoy like your animation detective stuff like that
We didn't use all the possible parameters of test with camera
Here is all the parameters and obviously as you can see we are missing to adn
But still let's talk about the current are metals in case it wasn't clear enough when we first introduce the best
Camera
The first parameter is the Field of you actually eat 75
These are degrees
And it's the degrees it's the vertical vision angle it's how much you can see
And it's the vertical not horizontal
By default it's how 3G spy camera is working
You have other environments but why not
Where it's on the Oriental party
Games
That's works like this just like I think you're old Fallout
I think her it's
Horizontal
The advantage and disadvantage when you're going to talk about this
Just want to eat the vertical field of view
75 is quite a lot meaning that if you have an object for me it's over there
I will probably be able to look at it
Actually as a human
He loves you
You can put your hand on your left you can see
Look straight for what I can still see my hand I can perceive
Oh yeah we have a huge free love you so maybe we could put something like
That much
Are we getting a very strange result accessories actually not working what is not working yeah it was
How much is 3 of your 140 and as you can see the queue is very very
I have a distortion happening
And I created a video to show you that
Yeah it is
His
As you can see I'm animating the Field of the inside of blender
This is a very small feel of you I don't remember maybe it was like 25 maybe 59
And this is a very large field of view
And as you can see the tubes are all this
This is due to the Rhonda being a rectangle
This is
The area where you randomly be random
If you do like her
Studio pizza grinder
It will be squeezed into that stronger and this is why I object
Get real small really small
Can you get some distortion on operate on the right so you have to find the right value I recommend having something between
45
And 75
70s 75 is actually quite
Write 2 is this one so I can see audio breaks easily
It's up to you we have to figure out and try to define the field of view
At the beginning of your project because changing it
Ring me that maybe you won't be able to see objects
We could see
Delta pharmacy
Reason to but we are going to talk about this
Later
Resident permit Awards aspect ratio
So it's just the weed
Of the Rhondda
Richard
Whisper
This is the width of the grandeur
The Lady by the 8th of November
You need to provide this because it might change in very specific situations
We just want our coming out to show something on the Rend Collective you see the size of the runners
Play we use the sizes
Object
Which I created
Here and we put values temporary values that are 800 and 200 and 600
Have you sleep to improve this
So that the random
All the room heaven
These are the two weeks already used
Let's talk about
The two other parameters we have to add
At the end or is my camera
I will just zoom Al weekend
Rated
The two last parameter
In the exam for something like this I think maybe one that then
Let me check
Yes 1 and 1000
These are the knee
And the four parameters
Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1
Object
Cloud engineer
Further
Done the One Show
An object is between visible and non-visible well you will see just a part of the Opera
What we can do here is try to shoot choose a value
That will show that that affect
Maybe if I put so my camera is that this
Distance
I can actually get the distance of the camera
By using console log
Camera position and if your neighbour we have the length
Position is a vector
If I get this ok this is the distance of the camera
If I use
This value in the farm
Look at this
As you can see the part of the queue
Is being
Invisible
I can lower the value label that said to
3.2 and a small top of the queue
Which value should we put
Here
Me I want to see everything so maybe I should do something like this
Yeah
Very large hedgehog work let's see if it's working and I won't have
Objects that just
Disappear from my screen
Do not do that
It's a mistake because you're going to create a bug a glitch that we called Z
That fighting happens when you
To face to face this so imagine my tongue is blue
Face ideas for this is the
If they offer it's obviously this one that is being shown and this one is hidden by
But if there are close which one is in front of the other
It's obviously for us this way
But if you do extreme value like this
Your GP you will have trouble
To guess which one is in front of the other
Can we get
A bug
That looks I will open the Sydenham
We look
This
You see the cliffs between them
Is when
Clean Spencer anything triangles that's it or to close one from the other
Avoid this
Another good example
Yes
There is a glitch here which is that fighting
Been on a sheep with a video that sorry
Which is a nice
Great
Which
Why you should be put in your project how close it can I can get
I think we're going to go for something like I lost it
Yeah let's try to find something 0.1 is
Very close we can get close to the cube without
The cube disappearing and here we can use like 100 switch
Probably too much
But in case we want to come around
Play away and look back at the scene
IT support
Set a point you think that's on nights it was on the right that you just change the volume
Good thing with that is that you can automatically not from the object that are too far
You can be good like I don't know if you're doing
Mountains villages behind the montane in front of the mundane and clouds
Very very fat
That solution
The things too far
On the camera won't even be under
It's OK because it was too far we are not supposed to see them
It's up to you to find the right way
Ok this was the perfect chicken
All we had it added
Here was those too well you have to provide this value
IPhone 22 that then by default I think
1 and 1000
Now let's talk about the autograph
Marie-france with the perfect come out is the lack of prospective in that an object in front of you
Do you have the same size if you eat
Very far from the car
How can we use
Let's talk about the pyramid us first we are going to come and the Plastic kennel
I'm going to let the position because we can rotate move and not scare
But we can rotate the camera
Where is it best to camera on the North traffic cam
And we are going to replace this
The best way to come on just coming because we're getting back to it after
Going to create a new one
Conns camera equal in we are going to use do
Photographic memory
Oh so coffee
Camera
What about the parameters
First we need to provide
Cannabutter
This is very strange but it's perfectly logical
We're going to say
Your camera is not doing like a coon
Like that that looks like this
It's more like a square a square a bath or a rectangular
And it will run down
This
Parallel London
Like disc do you have to specify the distance on the left
In which we are under
The distance on the right
Wish you were here under
On the top and on the bottom
If you put suit value things we get small but you will cover a lot of and if you put
Small value
You just found a very small part of your sick
Like this
That's good song by you I don't know what exactly I'm supposed to put here
So I would do just
-1
Then it's the right
That's wrong with me
Date me
Right top and bottom
Res photos
Left
-1
Right
1
Stop
It's a 1
Durham
-1
Alright
And the tools parameters of the near and the far and we know about those issues
0.1 and 100 that just like the perfect of camera
What do we
Ok this is working
As you can see
The cube seems to be travelling
That all the size of paradise
Which is great it's exactly what we want
Unfortunately
The Cube
Doesn't look like a tube
As you can see it's more like a box that has been squeezed
On the y-axis
Actually I can show you even more don't do it but I will show you
This
Is Pluto smaller
Render on the head
That's the problem
It seems that the remainder is
Stretching the
But the size of the canvas stretching our cube
If I use a square
My cube looks like a cube
It's working fine but if I was something else like said the hate
800 and 600
I get a bad result like this
This is pretty simple to understand
You're doing a square
Brenda look at this values
I'm doing -1
On the left
Plus One on the
It's like this
Then plus one on the top and plus one on the bottom
Sanderling
Perfectly Square Rhonda of the scenes on the Canada St Andrews
Getting everything
That's visible in that Square
And saving it to the right
But my Rhondda is not a square
I have to do something about
The solution is actually to have the app
Ratio of
H
Cannabis
Randa
We are going to calculate this and we already been actually for the camera
You can do accounts
Aspect ratio
And the aspect ratio will be this with of the run / the date of the Rhondda
Baby dungarees
Right here
Is going to be sizes
That
/ sizes
Darts
And this
To use this recently have to multiply
The horizontal
That's if you love me it's not the end of you but the other isn't a Jew the temperature
I don't like you but I know it's the reason that one that if you don't know just test
Use the aspect ratio
Let's say here
And then
Be careful when I'm going to put inside Swansea
First parameter
And now I'm going to use on the 2nd
Like this
I can do it here
Is put the parameters
Right here
Like that so you can see more clearly
And I be able to do me a little
Yeah just like this
I don't know if it's better
Dundee
Who is the result I just saved in as you can see
And now have a cube
What happens to you if you log the 80s
Ratio
My lock screen that is not working anymore I hate it I have to fix this
Oh yeah let's see what we have in the ratio I have something like 1. something
Which mean that
Instead of
- 1 I'm going to have
Have more
Which is going to be
3333
And here is going to be the opposite is going to be 1.33
Which is perfect because we are going to Rhondda a little further on the left and a retail further on the right
The
The vertical dantdm change
But this in exactly
The rectangular of our Rhonda and we are doing a round of the scene like this
Putting this inside the room
It's working
This is a way of doing it so you have a perfectly protected seen using
Orthographic
Camera
Alright
Let's get back
To our best this was just an example I really wanted to show you the
Because you might need it
And can also be used to create effect
Stuff like that so
I really wanted to say to you
Examples of over you can comment dispatch front keep it
In the same page you are looking at right now you can also download the final
Let's get back to the first camera which
Ladies
Ok cool
This is great we are we have out of Tenerife
Animation boots
It's pretty hard to move around
I would like to be able to control the camera
And to me
I don't know just move the camera
So I can see my object from different point of view
And 12 more control what's better than the mouse
So yeah we are going to use the mouse
Find with the mouse on the left I'm on the camera to go on the
On the right go on the right up and down
Get me to do this
Commander
Move the camera feed Facebook so we are going to remove
This and this I would just come and then
We have a better one
Starting
Right now I'm just trying front of the queue and we are also going to study the animals
Turn on The Cube which is right here
Ok so just come on inside the tick function
Just come under mesh rotation y equal 11
I will let the elapsed time even if I don't think we're going to need it until the end of the year
Alright so we're at the Beginning you remember with the in front
The camera which which looks more like a square with her going to improve this
Maybe you
For the camera position
If I want to move my camera
When I move
My mouse Microsoft
I need to know the coordinates of my mouth of the closer
I'm going to put my god over
I will put it at the beginning of the risen right after the import import around
The talk I'm going to create something like closer
I'm going to do everything I need about the the curse
JavaScript so this is not even ask if it has
For now nothing to do
Prettiest how to get the coordinates of the mouse
What we can do with window
And we want to listen to an event so we want the the brother to tell her when an event occurs
To do that you're going to use add event reason
Add entries now you have to provide the name of the event
And Forest it's mousemove
Well we want the to be allowed
Hello to man the mouse move
Sweden like this
Mochi Mochi no that case
Ugly
You have to do it
And then the second parameter you provide a function and going to use federal because I always use Cut the Rope
I have reason for these but it's not the subject of the risen
An inverse function you were going to pass
Coronavirus
I'm going to call it Evans version can't eat whatever you want
Inside doors
Semicolon
We're going to log
Event that client seeks
And it's up with that
You can put the Evan can try if you want but let's start with Evan trend
And look at this
Check your console
Open your desk tools go to the console tab
And here are the coordinates of the cursor
Under
X-axis which is working just fine when I'm at the
Corner
I have something like 0 and I
Close to the Roaches
And at the right part and going to close to 1000
Ok great and you can taste obviously the why
Axis
Which is important because look at this when I'm at the top
It's cross 20
And the lower Gate I get the higher the volume
Which is like the way
The value is going up
When the cursor is going down
Dumb keep in mind this going to you
We are going to have a problem with
We could use those value
We have talked about the ex on it for now
We could use this pixel value but I don't like to use pizza for you because
If my screen is bigger look at this
No idea
2000
Which is a lot if my screen smaller
Because it's a mobile or small screen I don't know
Don't get BP on 800
I don't like this me what I want
Is something that that
An MP 2 of 1 something that goes from 0
To start with
To do that
First we're going to discuss great somewhere to store the value so I'm going to pray thanks
Equinox
Looks like we did for the size
We saved the season
It's not mandatory but always organising and type objects
We are going to Craig Castle darts
X
10m cassette at y = 0 and you're going to up
If you want to start working to Newcastle that x
Equal this value you're looking right now
I will put it there
Then you can just log it again
Console.log
Like this
As you can see I have seen things
I'm saving the value in Cyprus
I have to update it
What I was saying is that I prefer to have
Values
From 0 to 1
If possible values that have an amplitude of 1
The how to do this
Where actually we can delete
Do this easily by
Dividing by the size
I love you both
I'm already have something like this
I think we are going to use this yet
We are going to use sizes
That we
It's not
The size of the viewport
Because the the sizes
As you can see here
We provided
800 and 600
But later later son
This canvas will have the size of the View bar so we can use these values
Alright and we are just going to tour
On this area for now
I repeat
In a few lessons
This conversation is Wonder we take the whole of UK
So you won't have any problems about the sizes are going
Above the volume etc
As you can see
I divided desert events the Evans client exercises
With
Here it is I have something close to zero
I have something close to one
Jason can go below above
One but it's not
Something that goes from 0 to
That's good
And we can use this
But we will go even further
I want this value
To go
To be
Negative and positive
I want to to be able to go to the negative and
Do that
I'm going to you
- 0 points
Y - 0.5 is because my value is going from 0
21
When doing - 0.5 / - 4
-
0.5
Positive
0 point
As positive as negative which is even better for us because we won't have a camera at the end to be able to
As much on the lead
Dundarave
You don't have to do this but I like to do this
Let's test it if I move my cursor on the left as something very close to -
0.5
Can you find move to the right I have something very close to
0.5 to positive 0.5
She's a very good value you have many ways of doing it we are going to do that again in a later
Licenced operator if it's not
Very clear
If we been here
Play let's do the same for the y-axis time going to change
Why inside the cursor
And also for the client or Evan client
Why
Instead of dividing by
Phrases with I'm going to divide by size
Kent
Let's test the value because
We can do mistakes
If I'm on the top I have -0.5
If I go
The burren
I have something there
Bruce 20.5
Which is great
Ok
I think this is fine we have a castle garden
We can remove the console you don't need it anymore
American movie
Further
Almost there
It's not just to this but again me about herself coordinates which are very very good
What we can do now
Inside the function because we want to do
That's before each random
We're going to update the camera
A bacon and going to be very simple
What do you have to do it change the position on the camera at it has to be on the right
Let's try to find them without looking at the slide
On my screen
Pause the video try to find the right axis it's a good angle size takes time to to guess the writer
And get back to the video
Are we true the solution
You have to do camera that
Position
It's going to be obviously on the x-axis so there were no trapped
Almost I'm going to use that
X
And let's just start with
And here you go
It's moving
It's working fine
Let's order
Moran teacher by multiplying this value by Anna Marie
See I'm going further and it's working perfectly
Let's do the same for the y-axis
Why
Why
I would keep the same altitude
Look at this
Nice
But there is a problem
Making memories moving congratulations this is a good start
Extreme look at the y-axis when I move left and right
The camera is going in the castle that direction
But when I move
Up and down
It's more like the cube which is following the
The Castle
Remember what we said
Earlier
The events
Client
Is being positive when going down
But in 3G
The y-axis is considered to go
Up
We have to invert something somewhere
You have multiple choices
You can do it inside do
Mousemove event
You can do it while while using it
I don't have a preference
You can do let me see
Yeah and exemplar of the week in the Evans let's do it in the air
Yeah I told you we weren't going back to there but we are
Stop instead of just putting my nose hair
Mathematically wrong you have to put
This is around everything
Great stress map
Who is now in the gaiety
Navigating I hope it's a lot
I'm going to save
Look at the results
Yeah
The camera is moving
It's working now
You can see the cube from different angles which is
Let's go even further
We're going to ask the camera to look
Add our cube
After moving it
The lights we always centre on The Cube
Regardless of the camera position
Do that she would simply called cameras
Look
At you know this one
And we need to provide a vector 3 here
We can just great one you 3.0 Victor 3
Like this
And if you don't put anything in the values of Vector free it's the same as pudding
000
We can just do that I say
Yeah this is working fine
Let's add more pictures
It's a 10
Yes he's working perfect
H camera
Moving
Like you wear on the plane
Black aeroplane the flat plane that for a plane that can fly
So yeah it's working fine instead of creating an empty vector free on each frame
Because this is what we are going we are doing right now I can use the cube so it's going to be mesh
Because we are not moving the Tube and The Cube
Add the centre
Of the scene which we get the same result
Yvonne Fair
This is great but I cannot see YouTube
I have the front face here
I can see on the side the other sign that took the time but I cannot see behind that you because of my camera
Commission right now
What's we are going to the right right now
To practise for exercising and do some mathematics
Going to rotate a camera on a circle
Orangutan
This is our cool right now we are just doing this
It's like that
I want to go for a run
Is going to be trigonometry
With customers
Penis
Enma
By the way my Sky because I want to be able to do like a full Revolution around the Earth
Full Revolution
Not more
Nutless
Thought if you remember like we saw in the previous one if you use gas
Value
Get something like this with the value increase
You get this and if you use seen
Have the same value you get almost opposite because it starts at 0 miles
We're starting at 1
And you get the same waves
When you combined them I said use the question news
On an axis
And the seniors on another axis
With the same finger
Get the position on a circle
3 fails
Tesco's questions
What are the axes we are going to move
This is Yorkshire
What's are the axes to position our camera around the tube
Is it going to be
Like on the plane
There are not going
And don't just about position like this
Is going to
X
Which is this one it's the opposite
This one
Which is going that way
X
ND
Going to position on
On a circle by using mass
That
And for the other one which is not
This one we are going to focus on the Z2 it's going to be
It's not going to be why it's going to be easy
I'm going to use math
You can mix them actually you will get to very similar
Just like the boys and girl that was changed and we are going to provide a value
It has to be the same value so that our
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
Trigonometry
If you don't already know
What angle are going to use when I'm going to use curse or x
Because when I move look at the movement not to get the camera up the current camera animation when I move my
Like this
I want to move around the Cure
I'm going to use Casa x and I'm going to use the same value
On both
Sin and cos
Like this
Wait for it
Ok so it seems to be working
The result is very strange
Normative upper right now first the amplitude is very small doing this
Baghdad
We want to do full Revolution around the cube to fix that
Just need to multiply the value of the angle we provide two SIM and curse
Could use something like 10
Right now it's working
Very strange but it's working Romania
Tron you know the first one
The big boss at the end
I'm too old
So yeah it's working
We're going to change this one after
The poem right now is that for your very close
2 hour 12 cubed
Because sin and cos return value that goes from
-1
Two positive 1
Ok so we need to do is go further
By multiplying the result
Not the England take the result of May
Skin and me
Cos
Something
I don't know maybe 3 minutes
Here you go
She's working now
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
Just program is that it's not doing one revolution and doing a lot of
If I go from here at 1
2
3
456
4 faces
Meaning that one
Revolution
How to do that
Where I already told you about this we are going to use math
Because pi is you can use pi to do half a rotation
We're going to the mass
And setup 10 we're going to use math
Bye
X
Cos we're not half
Rotation between food rotation
Look at this
I have restarted the left
1
2
3
4
I get back to the first
I have a full rotation
Which is really nice
Sterling to rupee
Play we are almost there what we need to do now is be about to see above and below
And to do that were going to play with you
Why
Position
I'm going to use y equal and very simple calories
Castle
Why because I'm forget we are using on l o x
The second one
It's used as a while
With your son
Vertical
It's working but the volume
Two small letter x I don't know five maybe I mean on the way
It's working great
As it can take in the oven
Below
Underlay
Underwrite enter autorun
Ok that's great don't forget to put the look at
After a dating the position
You say you coming out look at this and then you move it it will not look at the things you
Ok
We could go even further
Michael think we'll be able to go to The Cube
NB to go back
Smoothie to add some easy and stuff like that if you know that those
But it's
It's too long it's too hard
What we can do is use
Butane controls inside 3GS because yes 3GS has written
We just have to Instant yet the right person controls
Any we have the same kind of result and even more
I need to go let's see all the controls we can you
Go to the documentation
And Simply Red
Control
With a mess
Anything anyway
Here are all the controls were going to talk about all of them but we are going to use
1 of
Toyota
The first one is device orientation control
This one is used when you're beautiful is a choice but it's mostly
Smartphone like this
When you when you use the device orientation controls on a smartphone that has
Base iron edition will be able to control the camera and you will be able to see the things moving while
Move your camera like this
Which is very annoying
Really
You can do with that
It's bedtime you again sometime by by using it
The problem is
Currently at the moment so where I'm regarding this
Are us
Stopped supporting device orientation I don't know why
Bother me a lot
Because we could do that really cool things with it but device on patient
Work on IOS
That said let's talk about flight control
Starting the same order by letter
Play a flight controller
We are going to understand each time you have examples
Condition where I didn't use the example because I'm using a computer
I don't have device on kitchen or on the computer
Butterfly control you can test the example
Pause the video that things about and you get something like this
Open 80
I can fly I can a spaceship I can go down but also I can rotate like this
Do a barrel roll
Has it
Yeah I'm really too
Starbucks
This is flight control
Should I should I be more like a spaceship control bitwine
The next one is
The song control
Don't get too excited this is probably not what you you're thinking
First-person control is like
Flight control
But you cannot change the app
Axis mean it's like a bird you're on seabird doing this all the time
I've been upside down
So this is the result you get
This week's useful for plane if you cannot do a barrel ok
Yes I know I have trouble seeing bearable
It has nothing to do with FPS game it's not first-person shooter style it's true
A bird or plane that cannot do this
Alright next one
Going to be Punto pointer
Control this one is really cool
The wrong
Yeah that
Pointer lock
Looks
Practise
This is a mess
I can go for
Backward if you're testing this example you can use them
So far me that Tuesday 4 it's going to be
Where the wasd
I'm using French keyboard
And I know you can see
Sorry it's nothing like the same later it's harder for us
You always have
Troubles
Can you can drop a Deuce
Unfortunately
The pointer of controls is all about making the mouse disappear because as you can see there is no more
Party on the screen
Getting the mouse movement even if you cannot see it
To update a camera
What you are looking at my no it's not just the class being instantiated it's also
The devil could this example
I did more
Like a controller to keyboard and dating the player according to the keyboard
When do player press Space Jam
Having some kind of corrosion
Let me show you if I go to the queue on
But I can't jump on the tube
I stay on The Cube
Can play in try to get a
Can you see that outside
Ring challenge
I would not choose this one because
Fitting doors the mouse movement and looking the mask is not that hard
Jasper
I put the link of the dapi following this in Javascript
Pizza
Next one is
Big control and Islam is really great and really heavy
Hobby control
Control
Look like this
You get something
It's me
You can rotate
You can now
Like this
You cannot go
Below the floor cannot go above the angular can you can I go upside down
Just like zooming in
Enderman
It has nothing to do with those
Pirate
Pregnant
Sorry it's all about the camera with man so this one is really
And we are going to use this one to get
Any of the next one is going to be
Trackball control travel control is like I'll be controlled
There is no name it but this I'm going up up and I can
Keep running like this
Indefinitely so if you don't have like a floor and a sky and you want the user to be able to do
Lupin
Looking like this
Trouble
You're so have another controls had his name transform controls but this has nothing to do with
Camera
Alright
This
Transform control
Let you do things
Like this
I can move the queue
Can you like an idiot so I can create an easy tool use in transformer
Log in to talk about this better
Not the point in Douglas
Going to
For later the sun
And the last control
Just like transform controls
Has nothing to do with the camera
The move object
Let's see on the on the plane facing the correct
Move objects by using drugs
It has nothing to do with a camera
Fox
Let's use the Abbey controls
Always controls as you so privacy is very similar to what we did in the lasagna
But better
Does better
Better future I can go above there is a limit and you
Really small and we're going to implement this
Let's go
10
Stop first we're going to comment the part where we update the camera
In the tick function because the camera is going to be handled by this class
Alright so we don't want to to mix our a date our way of
Updating the camera with the Abbey controls way
Come on this part
And Commander Luke
I command every
Can remove it
What I get is my camera facing
How do we intervensi 8ds
Orbit control
Unfortunately it's not going to be
That is
The obby controls class cannot be accessed
Tree.org control
Cancel that Logan
3D
Oh beach
Control
It's just
And as you can see
I get Andy
Becontree
Is part of the documentation
It's party 3DS but it's not
Inside the three viable when you import it just like this
What are we going to do
Well because we are using webpack
With models
We have access to very specific modules
Inside
Node module
This is one will use this way of constructor webpack npm modules
Like that
Actually you can find it
I'm going to show you where it is
Nothing to do it on your side just look at my screen
I'm going to try
I'm going to examples always forget
The bath is going to be GSM
Then control
Then
Pointer lock it's not the right on sorry it's a bit control don't watch this life
Going to be a control
Radio
We have also the tights group on my phone trying to talk about
Wimborne this class which is in non-module
3GS
Examples GSM
Controls my controls all you have to write is important
Use this
Controls
Like this
Don't forget the semicolon
From
And you will do
We just said
Without
The normal juice bar
Ok don't
Node modules
Dart examples
Sorry not that / GSM
Flash controls
Orbit
Controls
That Jazz
And this will give you access to the class
Weather
Writing
So we not remove the three and as you can see if I got
Right
Yes I have access to
I don't understand this good anyway
I don't have anything on you
This is fine we can now use this constructor
This
Class
Thorpeness
Create our orbit control and we are going to create it somewhere after the camera
Yeah we can do it
They're just after the camera I'm going to do controls
Increase
Are Beats or I think I would just cut it controls
Controls equal is going to be
New
Hobby control
Controls without
Bible it's just my controls because we imported
The Hobbit controls
Only
Need to provide two things to that class it's going to be your camera
Because I'll be control is going to update a camera you have to say this is a camera you have to a date
And you also have to provide
A Dom element and by dominant I mean an animal
Somewhere in
The beach
What would you serve as a reference to put a mouse event
Because
Hobby controls is going to do the same things with with you which is listen to Mouse move but other
Landslide
ASDA Mouse
And even the touch because you can use the obby controls with a touch device
How come your smartphone iPad stuff like that
We are going to you
The canvas
And we already have our conversation where like yeah
That's the campus
Just send the cannabis like this
And look at the result
Dragon Drive
Press and drag and drop and as you can see
No control over my camera
Just
So you can
Dragon drop
Dragon drop
Drag and drop with the right click
Richmond moving like on the plane
You can zoom in
Zoom out
Wisdom of the week
You can also change the default target as I can see my control seems to be looking at the centre of the same by
You can start by changing the controls that
Target which is a vector
Change
It's axis and I can change like the y axis and put
Petite tops with slightly above Mike
Unfortunately nothing is working
It's because when you change the target
You have to update the controls and we can do that bye
Calling
Like this
I'm looking above so if I
Unless above you can see
I'm just looking right above the
Let's not use this
Let's go home
As you can see this is working just fine but it's kind of hearts in that
Smooth real life just as I say
It stopped by faster
It's read like the movement of the mouse
We can add what we call damping and we saw the dumping in the example
Which is right here
There is a damping
Which means that there is like a Next Generation
And also friction something like this I don't know the exact calculation behind the formula they use
But
We really small
Ok so let's add this damn
What did MPs
Brighton
You just have to say controls
Enable
Denting I think
It's a brilliant so you'll have to pass it to
Seems to be working
That's strange
As soon as I stop
Dragging and dropping
The problem is that the damping
Has 20 cure even if my mouth is an dragon dropping
The controls need
It needs to be updated
On each frame
You know two of The Dumping to
And to do that
What do you need to do is go to your tic function
And in the trust as a camera part of before doing the Rhondda as a West
I'm going to do a date controls in all you have to do is called control starts update
If you are using the dentist
Don't forget to update the controls
On each
Frame
Look at this
I now have
Control
With damping with which food
Really cool
Regret
Domini other properties methods stuff like that in the oven controls what
Recommend is too always
Read the documentation
No that goes
Function 18
Just read the the difference of properties
Then we know that
You can control the zoom zoom speed and zoom
Like to the floor and you can go below the floor stuff like that and you can control the damping if it's
Very very smooth then being or not
Ok great
When to use building controls and when to use custom controls
It's really depends on you on the project on the limitation on stuff like
One controls can do everything you need
Music
Alright if it's has no withdrawal it's not wavy in terms of wait for the file for the
Life story and and just use it
But
You have that say one feature missing in the control
I don't know if you'd like to change your limit of supply that you cannot change the limit of the
Well you will have to redo everything on your own
So you will have to dive into the class and change this class so we can handle
This features
This feature you mean
It's really up to you just check if the controls
You're going to use as
All the features
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.