1
00:00:00,889 --> 00:00:04,950
hi everybody uh... welcome back to the
unity cookie dot com classes gabriel

2
00:00:04,950 --> 00:00:09,110
williams again donna kelley brand new
set of really awesome tutorials

3
00:00:09,110 --> 00:00:11,080
uh... spending when you watch this

4
00:00:11,080 --> 00:00:15,589
but no measure is uh... and i am opera
tix edison and had to get into this new

5
00:00:15,589 --> 00:00:16,580
series

6
00:00:16,580 --> 00:00:21,080
now in this case we're going to be going
hard start to finish on entire teller

7
00:00:21,080 --> 00:00:22,130
defense game

8
00:00:22,130 --> 00:00:26,109
so a lot more public evidence of their
right now special

9
00:00:26,109 --> 00:00:30,380
uh... morgan's instructional go all the
way from start an unmanned so you can

10
00:00:30,380 --> 00:00:33,680
showcase how to put it together and
uh...

11
00:00:33,680 --> 00:00:35,760
basically and cocaine so

12
00:00:35,760 --> 00:00:39,810
to start really going through a couple
things uh...

13
00:00:39,810 --> 00:00:43,330
maker every morning i guess this is a
bit of a learning experience myself at a

14
00:00:43,330 --> 00:00:47,590
time of these before combine a
predetermined idea i think

15
00:00:47,590 --> 00:00:50,979
and will basically be pulling in a
modules so personal build

16
00:00:50,979 --> 00:00:55,119
uh... couple parrots will get those
working well that will be building uh...

17
00:00:55,119 --> 00:00:59,399
just the top downgrade placement system
and then we'll go on to the enemies

18
00:00:59,399 --> 00:01:00,850
attorney i am them

19
00:01:00,850 --> 00:01:04,730
uh... manufactured correctly have
sometimes gets more on lawrence

20
00:01:04,730 --> 00:01:10,170
uh... and then things like damaging awaz
money and such are points

21
00:01:10,170 --> 00:01:11,549
uh... crispy

22
00:01:11,549 --> 00:01:14,310
dingy why and audio psi

23
00:01:14,310 --> 00:01:16,300
amici petrosa last

24
00:01:16,300 --> 00:01:20,250
uh... linda's could all win lose and
finally about some high scores in the

25
00:01:20,250 --> 00:01:21,260
storm

26
00:01:21,260 --> 00:01:23,210
cell something

27
00:01:23,210 --> 00:01:27,180
uh... something that if you were baby
just finishing uh... the

28
00:01:27,180 --> 00:01:30,630
mandatory we never quite got any
improper high scores in there was

29
00:01:30,630 --> 00:01:33,470
something that was asked for quite a bit
so we're going to have a new york for

30
00:01:33,470 --> 00:01:34,369
sure

31
00:01:34,369 --> 00:01:39,329
uh... on that note if you have an
article to those or previous unique

32
00:01:39,329 --> 00:01:41,660
proceed which showed a majority

33
00:01:41,660 --> 00:01:42,720
uh...

34
00:01:42,720 --> 00:01:46,840
pretty up to speed on scripting and all
of our unity works uh... discovery of a

35
00:01:46,840 --> 00:01:51,810
lot to go over in the setup tutorials
it's gonna be uh...

36
00:01:51,810 --> 00:01:54,639
uh... look a little behind in some parts
uh...

37
00:01:54,639 --> 00:01:56,719
you know they got a little faster than
usual

38
00:01:56,719 --> 00:02:00,200
uh... fled to go to watch those first
two special regularly under its cut on

39
00:02:00,200 --> 00:02:02,540
the good stuff in there

40
00:02:02,540 --> 00:02:06,400
over the phone stuff uh... so stick with
what we have here in the first story

41
00:02:06,400 --> 00:02:10,950
we're going to be going over like i said
just a simple starter turret something

42
00:02:10,950 --> 00:02:13,730
that's an issue that that is that come
by and

43
00:02:13,730 --> 00:02:16,329
while nothing else

44
00:02:16,329 --> 00:02:17,739
uh... disc in this together

45
00:02:17,739 --> 00:02:19,689
has uh...

46
00:02:19,689 --> 00:02:24,199
crucible between the records take a look
at how it works for us

47
00:02:24,199 --> 00:02:26,650
so for looking at the end game screen
here

48
00:02:26,650 --> 00:02:29,540
right regain my enemy

49
00:02:29,540 --> 00:02:32,069
and adult turned place

50
00:02:32,069 --> 00:02:34,229
smoot terms

51
00:02:34,229 --> 00:02:36,349
and fighter

52
00:02:36,349 --> 00:02:38,109
pretty simple

53
00:02:38,109 --> 00:02:43,040
uh... have uh... gone a little closer
you can also see

54
00:02:43,040 --> 00:02:46,449
attempts on our panel happening here

55
00:02:46,449 --> 00:02:51,339
and in just a nice little here where it
will constantly cancer of the uh...

56
00:02:51,339 --> 00:02:53,359
beard targeting so

57
00:02:53,359 --> 00:02:57,369
thanks kim i'm working on the computers
analyze exactly on that something will

58
00:02:57,369 --> 00:03:00,399
be up to control from the script with a
nice little variable

59
00:03:00,399 --> 00:03:04,490
reassemble theater fine-tuning tweak
exactly how all year

60
00:03:04,490 --> 00:03:06,869
parents are working on for different
types of such

61
00:03:06,869 --> 00:03:08,219
so that's pretty much it

62
00:03:08,219 --> 00:03:10,239
uh... pre simple and straightforward

63
00:03:10,239 --> 00:03:18,329
uh... spill onto how this all comes
together

64
00:03:18,329 --> 00:03:19,840
okay so um...

65
00:03:19,840 --> 00:03:23,409
and incense this tutorial is going to be
a bit more advanced than previous ones

66
00:03:23,409 --> 00:03:27,939
released on the little energy oreo uh...
trying things a little differently here

67
00:03:27,939 --> 00:03:31,499
and feel free to let me know in the
comments that works for you as a defense

68
00:03:31,499 --> 00:03:35,510
ambition a bus to go through these
quicker and get you remember without

69
00:03:35,510 --> 00:03:40,219
i've got on the basics so what are we
doing has just restored and how it goes

70
00:03:40,219 --> 00:03:43,980
uh... is just by the cement a reprieve
but i'm going to go through how

71
00:03:43,980 --> 00:03:47,659
everything comes together through the
pre belt scale script everything that's

72
00:03:47,659 --> 00:03:48,459
in it

73
00:03:48,459 --> 00:03:52,340
thomason billing it by hand as we go
also hopefully that should lead to not

74
00:03:52,340 --> 00:03:56,489
having uh... at a time previously even i
would be a little lines

75
00:03:56,489 --> 00:04:01,219
and what i was doing while a starting
point to get their constitution cell was

76
00:04:01,219 --> 00:04:02,380
cancelled his

77
00:04:02,380 --> 00:04:04,169
uh... we had a perfect window radio here

78
00:04:04,169 --> 00:04:06,049
and got through that babbitt

79
00:04:06,049 --> 00:04:07,030
okay so

80
00:04:07,030 --> 00:04:10,250
first of all of course we have the now
that matched your year into something i

81
00:04:10,250 --> 00:04:14,580
just don't quit the quicken dream acts
around the country special we were also

82
00:04:14,580 --> 00:04:18,390
we having a uh... tutorial on how to do
that in case you were to transit little

83
00:04:18,390 --> 00:04:21,160
later maybe i've got to according to the

84
00:04:21,160 --> 00:04:21,929
uh...

85
00:04:21,929 --> 00:04:26,009
to the whole even be serious but good to
know year on how to build your own just

86
00:04:26,009 --> 00:04:27,550
right

87
00:04:27,550 --> 00:04:29,479
affecting real saccades

88
00:04:29,479 --> 00:04:30,919
uh...

89
00:04:30,919 --> 00:04:32,209
couple perhaps

90
00:04:32,209 --> 00:04:33,150
uh... in him

91
00:04:33,150 --> 00:04:35,410
giving a of subject himself

92
00:04:35,410 --> 00:04:40,870
unless we have um... adult in a couple
parts i've just make it easier to use

93
00:04:40,870 --> 00:04:45,490
and that is uh... top-level item and
then we have deterred ball which is the

94
00:04:45,490 --> 00:04:47,220
sanctioning amy

95
00:04:47,220 --> 00:04:53,259
and then we have a base so even this
doctor probably emerged into uh...

96
00:04:53,259 --> 00:04:55,990
relatives who doesn't sound so cite note

97
00:04:55,990 --> 00:04:57,830
i was about and then uh...

98
00:04:57,830 --> 00:04:58,850
underneath each other

99
00:04:58,850 --> 00:04:59,999
under their main is

100
00:04:59,999 --> 00:05:01,369
the book the barrels

101
00:05:01,369 --> 00:05:02,580
and this way

102
00:05:02,580 --> 00:05:06,809
when the palm of scores in those rooms
with it

103
00:05:06,809 --> 00:05:09,750
but nothing else that's which is exactly
how we want to work

104
00:05:09,750 --> 00:05:13,910
and on the top level we had our script
and all that appleton fact while lower

105
00:05:13,910 --> 00:05:14,979
parts

106
00:05:14,979 --> 00:05:16,080
uh... underneath

107
00:05:16,080 --> 00:05:20,889
each of the berles heavy muscle position
and all this is uh... basically an older

108
00:05:20,889 --> 00:05:23,590
socket we want things to happen in this
case

109
00:05:23,590 --> 00:05:25,849
i described an empty game object

110
00:05:25,849 --> 00:05:27,720
and then positioned it

111
00:05:27,720 --> 00:05:32,009
exactly where i want people to come out
for each of the perils and also i want

112
00:05:32,009 --> 00:05:32,770
to be

113
00:05:32,770 --> 00:05:35,149
uh... minosos works for where the

114
00:05:35,149 --> 00:05:39,009
uh... a particle originator

115
00:05:39,009 --> 00:05:42,250
so principal just drag-and-drop at him
except

116
00:05:42,250 --> 00:05:43,519
uh...

117
00:05:43,519 --> 00:05:48,049
and peace are about to have some just
basic simple material strapped on them

118
00:05:48,049 --> 00:05:49,430
special

119
00:05:49,430 --> 00:05:52,850
uh... going to look to the top level of
this is world the

120
00:05:52,850 --> 00:05:54,280
magic happens

121
00:05:54,280 --> 00:05:57,340
uh... on here have a couple components
uh... number one

122
00:05:57,340 --> 00:06:00,139
uh... that's a look at not the script
everything else

123
00:06:00,139 --> 00:06:03,839
i have a sphere collider first of all
the time of the students actually

124
00:06:03,839 --> 00:06:06,539
essentially the church range so whenever

125
00:06:06,539 --> 00:06:11,180
uh... in this case whenever an enemy
enters that collider is going to tell dr

126
00:06:11,180 --> 00:06:12,930
uh... you know zameen arranged

127
00:06:12,930 --> 00:06:14,340
station yet

128
00:06:14,340 --> 00:06:14,999
so this is a

129
00:06:14,999 --> 00:06:16,300
quick and easy way of doing it

130
00:06:16,300 --> 00:06:17,050
and you can

131
00:06:17,050 --> 00:06:20,740
uh... very easily accept the range of it
at the same the release of the spear

132
00:06:20,740 --> 00:06:21,500
quieter

133
00:06:21,500 --> 00:06:22,319
resemble

134
00:06:22,319 --> 00:06:25,350
you could using even a mash or a uh...

135
00:06:25,350 --> 00:06:27,840
cube coyote or something if you'd rather
doesn't matter

136
00:06:27,840 --> 00:06:32,400
uh... justices are really easy way to
sit nice spherical range

137
00:06:32,400 --> 00:06:33,869
senator so

138
00:06:33,869 --> 00:06:35,280
uh... civil way to do that

139
00:06:35,280 --> 00:06:37,500
uh... that was an audio source which is
just

140
00:06:37,500 --> 00:06:40,410
you know planned uh... the fire nice won
a prize

141
00:06:40,410 --> 00:06:45,139
so moving on to the complex that we have
the actual transcript

142
00:06:45,139 --> 00:06:49,199
uh... with the whole options as your
number one the projectile and that is

143
00:06:49,199 --> 00:06:56,180
just a projectile created which we take
a look at your

144
00:06:56,180 --> 00:06:58,129
so all this is

145
00:06:58,129 --> 00:07:03,069
anticipates fear tutor cannonball
perhaps split a trail render on it

146
00:07:03,069 --> 00:07:07,139
and children or something i don't think
we've got all reports company

147
00:07:07,139 --> 00:07:11,239
missus uh... as object moves leaves the
school of trail behind uh... just

148
00:07:11,239 --> 00:07:12,979
package sounds i suppose

149
00:07:12,979 --> 00:07:13,790
and

150
00:07:13,790 --> 00:07:17,959
uh... a lot like particles if you've
ever those probably just sent

151
00:07:17,959 --> 00:07:22,799
because you wanted to change between
basket correio dot neoline slowly fading

152
00:07:22,799 --> 00:07:24,099
out

153
00:07:24,099 --> 00:07:26,809
and i will do that as it moved along

154
00:07:26,809 --> 00:07:28,169
treating effect

155
00:07:28,169 --> 00:07:30,539
uh... very useful for things like this

156
00:07:30,539 --> 00:07:33,940
you're moving around in uh... editor and
i don't blame a little slow funky

157
00:07:33,940 --> 00:07:37,019
could never actually and

158
00:07:37,019 --> 00:07:39,039
so it's not gonna look like that

159
00:07:39,039 --> 00:07:41,830
iccp play

160
00:07:41,830 --> 00:07:45,409
book actually just randolph disappeared
because as a script to make it moved

161
00:07:45,409 --> 00:07:46,490
fossil

162
00:07:46,490 --> 00:07:47,800
but you take a look at that

163
00:07:47,800 --> 00:07:52,849
so in his uh... checked out the size of
trail runner to be a bit behind

164
00:07:52,849 --> 00:07:55,159
uh... and then we have any

165
00:07:55,159 --> 00:08:01,429
the project

166
00:08:01,429 --> 00:08:04,180
uh... occurred so again

167
00:08:04,180 --> 00:08:06,699
we have paid very simple script

168
00:08:06,699 --> 00:08:11,479
adults doing is first of all we have a
speedy and arrange that we can set

169
00:08:11,479 --> 00:08:16,060
and the speed is just how fast and loose
ranges how part will go before

170
00:08:16,060 --> 00:08:17,539
destroying itself

171
00:08:17,539 --> 00:08:22,340
uh... you can also use that for us a
make another another function so that

172
00:08:22,340 --> 00:08:27,059
when it reaches its max distance at does
an explosion

173
00:08:27,059 --> 00:08:30,650
who knows what even turns around if you
do if you want to

174
00:08:30,650 --> 00:08:31,560
uh...

175
00:08:31,560 --> 00:08:33,610
justice whenever you do that some

176
00:08:33,610 --> 00:08:36,570
within your simple function update uh...

177
00:08:36,570 --> 00:08:38,870
every frame responses

178
00:08:38,870 --> 00:08:41,849
uh... alive so basically would require
the canisters

179
00:08:41,849 --> 00:08:44,470
you know expansion it on it as it stands

180
00:08:44,470 --> 00:08:46,360
and instantly starts doing this

181
00:08:46,360 --> 00:08:48,459
who simply do a transformer translate

182
00:08:48,459 --> 00:08:50,300
along the forward axi

183
00:08:50,300 --> 00:08:52,570
which is busy

184
00:08:52,570 --> 00:08:56,549
i've been pretty check also that you
have local are global swapped

185
00:08:56,549 --> 00:09:00,970
uh... in this case and what we want to
be local certainty what gets

186
00:09:00,970 --> 00:09:02,840
it's transformed up for it is

187
00:09:02,840 --> 00:09:05,000
for example if i

188
00:09:05,000 --> 00:09:08,100
noted that surround

189
00:09:08,100 --> 00:09:09,110
and then

190
00:09:09,110 --> 00:09:13,040
accredited global access which is uh...
basically the same things that you cuba

191
00:09:13,040 --> 00:09:14,020
showing here

192
00:09:14,020 --> 00:09:17,780
this is for it but that's not actually
case with the subject

193
00:09:17,780 --> 00:09:20,730
it's local is actually going in this
direction

194
00:09:20,730 --> 00:09:23,020
so be careful with that that's good too

195
00:09:23,020 --> 00:09:26,040
to check it actual correction there

196
00:09:26,040 --> 00:09:29,930
uh... because of the script hussein move
factor three doubt forward which one

197
00:09:29,930 --> 00:09:32,800
lives forward along its local z axis

198
00:09:32,800 --> 00:09:34,120
you can also forces to be

199
00:09:34,120 --> 00:09:36,480
uh... world space if you'd like to arm

200
00:09:36,480 --> 00:09:38,610
just uh... and something for different

201
00:09:38,610 --> 00:09:40,000
uh... parental consent

202
00:09:40,000 --> 00:09:43,500
now useful here by nineteen eighty two
there is an option for it

203
00:09:43,500 --> 00:09:48,320
cinema it's moving forward at its peak
times timed out of time

204
00:09:48,320 --> 00:09:49,470
and i think

205
00:09:49,470 --> 00:09:52,680
we live in canada so basically kind of
the time has just kidding

206
00:09:52,680 --> 00:09:57,130
uh... the exact amount of time has
passed since the previous train

207
00:09:57,130 --> 00:09:58,900
sold this allows us to move

208
00:09:58,900 --> 00:09:59,679
netball

209
00:09:59,679 --> 00:10:01,830
instead of being uh...

210
00:10:01,830 --> 00:10:04,940
simply misguided i did have this it
would be

211
00:10:04,940 --> 00:10:06,130
my speed

212
00:10:06,130 --> 00:10:09,780
every single frame so depending how fast
the actual computers running if you do

213
00:10:09,780 --> 00:10:10,470
that

214
00:10:10,470 --> 00:10:13,100
hard limit the frame to exactly certain
number

215
00:10:13,100 --> 00:10:16,990
including the speaker wanted to know
recruiting at ten french for second it's

216
00:10:16,990 --> 00:10:18,089
going to move it

217
00:10:18,089 --> 00:10:19,750
ten units per second

218
00:10:19,750 --> 00:10:22,600
and hunter french for second spenders
flyer

219
00:10:22,600 --> 00:10:26,740
so isn't end of the time is really
there's a way to make sure rules

220
00:10:26,740 --> 00:10:28,320
per second totalling

221
00:10:28,320 --> 00:10:32,920
and case uh... ten meters per second if
we keep variable

222
00:10:32,920 --> 00:10:36,650
and ok so second we have my distance
which is a little artistic rather

223
00:10:36,650 --> 00:10:39,220
bearable making private doesn't show up

224
00:10:39,220 --> 00:10:40,930
uh... here in the inspector

225
00:10:40,930 --> 00:10:41,920
and

226
00:10:41,920 --> 00:10:45,920
uh... in this case we don't want to be
seen because it simply used internally

227
00:10:45,920 --> 00:10:50,110
uh... at all this does is check again
kind of the time time speed janet

228
00:10:50,110 --> 00:10:53,260
remember way back and or speak only a
guess

229
00:10:53,260 --> 00:10:54,520
uh... for some of you

230
00:10:54,520 --> 00:10:55,590
uh... in high school

231
00:10:55,590 --> 00:11:00,080
we have uh... time times distance equals
outside time time speed it was this

232
00:11:00,080 --> 00:11:01,320
fence so

233
00:11:01,320 --> 00:11:04,620
this is the distance it's traveled which
is of course again at the time for this

234
00:11:04,620 --> 00:11:06,960
frame kind to speed

235
00:11:06,960 --> 00:11:10,910
damages adding that the spa sequels ads
on each and every frame

236
00:11:10,910 --> 00:11:14,110
and we check if the distance is more
than the rage

237
00:11:14,110 --> 00:11:17,209
so if it is and of course the strata
game objects

238
00:11:17,209 --> 00:11:19,660
some pretty simple straightforward

239
00:11:19,660 --> 00:11:22,140
mover certain speaker frame

240
00:11:22,140 --> 00:11:26,210
it i'm sorry to keep going the distance
up defend distances more than the range

241
00:11:26,210 --> 00:11:27,379
that it should travel

242
00:11:27,379 --> 00:11:31,130
destroyed so straightforward just works
uh... simple

243
00:11:31,130 --> 00:11:34,120
if you want to take us a little bit
further you could

244
00:11:34,120 --> 00:11:37,950
again going back to the letter tutorial
take a look at how did the physics and

245
00:11:37,950 --> 00:11:41,470
you can actually have you can and should
that's where the real physics launch out

246
00:11:41,470 --> 00:11:44,990
a lot he's grabbing all sorts of some
things

247
00:11:44,990 --> 00:11:46,129
but since we're just

248
00:11:46,129 --> 00:11:49,160
you don't want to keep it simple for now
especially for targeting any kind of

249
00:11:49,160 --> 00:11:52,230
mobile platforms you know i a lesser and
right

250
00:11:52,230 --> 00:11:55,380
simpler better will be

251
00:11:55,380 --> 00:12:00,350
uh... you know sale in cebu cycles for
what you can in physics and heavy

252
00:12:00,350 --> 00:12:01,190
just two minutes away

253
00:12:01,190 --> 00:12:06,210
let's let's move on to the uh... doctor
script itself

254
00:12:06,210 --> 00:12:11,540
i could just delete this project comfort
level

255
00:12:11,540 --> 00:12:18,350
soap from a transcript things get a
little more complicated but not too bad

256
00:12:18,350 --> 00:12:22,460
inside of your we have a couple of
variables again we have the projectile

257
00:12:22,460 --> 00:12:23,650
so

258
00:12:23,650 --> 00:12:25,670
kit stay here

259
00:12:25,670 --> 00:12:29,560
so racing team inspector there's the
projectile bulow time

260
00:12:29,560 --> 00:12:31,980
terence speed fire pastime

261
00:12:31,980 --> 00:12:32,990
muzzle effect

262
00:12:32,990 --> 00:12:34,200
paramount

263
00:12:34,200 --> 00:12:36,010
the actual target

264
00:12:36,010 --> 00:12:39,080
also positions and the turbo to look for
different things are making this all

265
00:12:39,080 --> 00:12:40,660
work properly

266
00:12:40,660 --> 00:12:44,040
uh... i'm going to reach the project
obviously is that project i would just

267
00:12:44,040 --> 00:12:46,350
went over and that's simply

268
00:12:46,350 --> 00:12:50,180
uh... you know you create an injury to
drop it in as a uh... a creek abdomen

269
00:12:50,180 --> 00:12:52,200
drop it and that's a lot

270
00:12:52,200 --> 00:12:53,520
thanks much

271
00:12:53,520 --> 00:12:54,800
uh... the real time

272
00:12:54,800 --> 00:12:57,940
is comic timing uh... along in seconds

273
00:12:57,940 --> 00:13:02,010
it takes to reload the comes one before
fired him

274
00:13:02,010 --> 00:13:03,840
cards because how quickly you can turn

275
00:13:03,840 --> 00:13:06,450
and and at object

276
00:13:06,450 --> 00:13:09,650
uh... player pos time isn't just a
little extra very well they had it which

277
00:13:09,650 --> 00:13:13,610
makes its uh... do more realistic fires
so that it

278
00:13:13,610 --> 00:13:15,910
uh...

279
00:13:15,910 --> 00:13:16,850
winningham

280
00:13:16,850 --> 00:13:18,270
turns it will

281
00:13:18,270 --> 00:13:22,360
once it fires of a pause for a second
the psyche of real life of a tank was

282
00:13:22,360 --> 00:13:26,850
turning expiry would turn hector ponce
wildfires

283
00:13:26,850 --> 00:13:31,060
and then go on to turn it this way uh...
otherwise it's constantly turning while

284
00:13:31,060 --> 00:13:32,330
firing it looks really

285
00:13:32,330 --> 00:13:35,330
it just expect

286
00:13:35,330 --> 00:13:36,510
over then the script

287
00:13:36,510 --> 00:13:37,660
uh... should be

288
00:13:37,660 --> 00:13:38,880
pretty straightforward

289
00:13:38,880 --> 00:13:43,030
uh... the muscle factor of course is
just the

290
00:13:43,030 --> 00:13:47,030
sci fi

291
00:13:47,030 --> 00:13:48,300
as soon as

292
00:13:48,300 --> 00:13:51,650
the uh... identifiers take a look at
that real quick

293
00:13:51,650 --> 00:13:53,680
just a very simple

294
00:13:53,680 --> 00:13:56,660
because pony particle factor goes

295
00:13:56,660 --> 00:14:01,000
gloomy obviously just uh... and that was
an honest right on anaheim yes i'm still

296
00:14:01,000 --> 00:14:02,490
using the old

297
00:14:02,490 --> 00:14:04,050
article access tom

298
00:14:04,050 --> 00:14:08,490
uh... there will be at the time of the
ones coming soon i promise but for now

299
00:14:08,490 --> 00:14:11,289
please work they were trying to stop
form instead or anything

300
00:14:11,289 --> 00:14:13,590
tigert values and since there

301
00:14:13,590 --> 00:14:15,710
easier in my opinion from alex

302
00:14:15,710 --> 00:14:16,910
okay sonya

303
00:14:16,910 --> 00:14:18,530
uh...

304
00:14:18,530 --> 00:14:22,550
writes a book by muscle fibers on that
and that paramount is

305
00:14:22,550 --> 00:14:27,480
how much this guy was actually going to
be off by cell zero parsons always track

306
00:14:27,480 --> 00:14:28,230
we are

307
00:14:28,230 --> 00:14:30,590
waiting

308
00:14:30,590 --> 00:14:33,990
and just a higher numbers is more often
saw

309
00:14:33,990 --> 00:14:38,420
uh... the target that's something that
actually could be a private available

310
00:14:38,420 --> 00:14:41,850
itis littleton inspectors i could see
and make sure that starting something

311
00:14:41,850 --> 00:14:43,030
properly

312
00:14:43,030 --> 00:14:46,340
uh... basically that's just whenever
something interesting in that spirit

313
00:14:46,340 --> 00:14:48,070
quieter

314
00:14:48,070 --> 00:14:50,550
the target is twenty

315
00:14:50,550 --> 00:14:51,890
picket sign

316
00:14:51,890 --> 00:14:54,600
the muscle positions are both of these

317
00:14:54,600 --> 00:14:55,730
left and right

318
00:14:55,730 --> 00:14:58,330
and script uses those to know where to

319
00:14:58,330 --> 00:15:01,080
uh... esp on the bullets and the

320
00:15:01,080 --> 00:15:03,540
uh... the muscle back

321
00:15:03,540 --> 00:15:04,429
sophie

322
00:15:04,429 --> 00:15:06,600
insignificant other shows

323
00:15:06,600 --> 00:15:10,260
anteater ball of course it is just the
actual volunteer and that's because the

324
00:15:10,260 --> 00:15:11,150
script

325
00:15:11,150 --> 00:15:14,430
uh... doesn't want to turn our actual
game object

326
00:15:14,430 --> 00:15:17,630
as in the whole thing returning would be
proper baseball

327
00:15:17,630 --> 00:15:23,330
we just want to turn this part

328
00:15:23,330 --> 00:15:27,080
okay so let's take a look at the actual
script vendor

329
00:15:27,080 --> 00:15:30,130
coconuts

330
00:15:30,130 --> 00:15:33,420
i believe the best way to cut spending
enough time for free let me know enough

331
00:15:33,420 --> 00:15:36,550
arms exactly how this works i'm hoping
it'll be a lot better we can go to most

332
00:15:36,550 --> 00:15:38,940
likley uh... to keep things rolling

333
00:15:38,940 --> 00:15:41,820
uh... individually but

334
00:15:41,820 --> 00:15:46,370
uh... undergo step-by-step a-sixes from
the game and to show up each of these

335
00:15:46,370 --> 00:15:50,269
parts uh... later part of the script
come into play and explain the through

336
00:15:50,269 --> 00:15:51,410
uh... instead of

337
00:15:51,410 --> 00:15:56,790
putting it together piece by piece which
takes quite a bit longer account

338
00:15:56,790 --> 00:16:00,690
and the first things could have done and
this courses are function start this

339
00:16:00,690 --> 00:16:01,290
case

340
00:16:01,290 --> 00:16:04,370
nothing happening still things can
happen there

341
00:16:04,370 --> 00:16:05,270
uh...

342
00:16:05,270 --> 00:16:08,090
then and the function update

343
00:16:08,090 --> 00:16:11,930
their checking if we have a target
witnesses happen every frame of course

344
00:16:11,930 --> 00:16:14,650
if we have a target for and a bunch of
stuff

345
00:16:14,650 --> 00:16:18,610
starting in the game courses in the
target discuss that they're nothing will

346
00:16:18,610 --> 00:16:21,150
ever happen

347
00:16:21,150 --> 00:16:22,670
to make that happen

348
00:16:22,670 --> 00:16:28,090
this available may speak number-two i'm
doing here is it'll always have to use

349
00:16:28,090 --> 00:16:31,220
um... bullion you know to see if true or
false

350
00:16:31,220 --> 00:16:32,570
you can't you just check

351
00:16:32,570 --> 00:16:35,010
uh... if something actually exists

352
00:16:35,010 --> 00:16:37,320
in this case antec if my target

353
00:16:37,320 --> 00:16:39,910
this is really saying if it's not lal

354
00:16:39,910 --> 00:16:44,810
and uh... of course a star so has not
because nothing out as an alternate

355
00:16:44,810 --> 00:16:45,780
it'll

356
00:16:45,780 --> 00:16:47,570
so it's um...

357
00:16:47,570 --> 00:16:52,130
thoroughness without having that extra
billion to chuck schumer faults target

358
00:16:52,130 --> 00:16:53,330
so we checked

359
00:16:53,330 --> 00:16:56,300
if the target you know it is currently
in science

360
00:16:56,300 --> 00:16:57,600
slowly do that

361
00:16:57,600 --> 00:17:01,350
uh... okay so we know we need this sort
of some person and happened so scroll

362
00:17:01,350 --> 00:17:02,630
down a bit

363
00:17:02,630 --> 00:17:06,940
uh... we have the ridicule entree renter

364
00:17:06,940 --> 00:17:10,399
uh... in something we've looked at

365
00:17:10,399 --> 00:17:12,300
maybe a little differently here

366
00:17:12,300 --> 00:17:14,010
maybe not so much was it

367
00:17:14,010 --> 00:17:18,860
uh... odu real quick is of course uh...
when this function is called the says

368
00:17:18,860 --> 00:17:20,630
whenever something has entered

369
00:17:20,630 --> 00:17:22,430
the quieter

370
00:17:22,430 --> 00:17:24,480
uh... that we have a mr so on that

371
00:17:24,480 --> 00:17:28,370
in this case is the skier collider

372
00:17:28,370 --> 00:17:29,970
so as soon as

373
00:17:29,970 --> 00:17:33,990
the enemy

374
00:17:33,990 --> 00:17:37,030
enters into that

375
00:17:37,030 --> 00:17:41,110
it's going to call the on trigger enter
enter our script automatically going to

376
00:17:41,110 --> 00:17:42,590
do anything about it

377
00:17:42,590 --> 00:17:43,410
uh...

378
00:17:43,410 --> 00:17:45,320
everything actually is that

379
00:17:45,320 --> 00:17:46,470
this objects

380
00:17:46,470 --> 00:17:49,470
uh... terrific must have is triggered

381
00:17:49,470 --> 00:17:53,740
checked i was asking me to actual uh...
collided things will bounce off of which

382
00:17:53,740 --> 00:17:58,490
we don't want to talk to be basically in
volume then something answers

383
00:17:58,490 --> 00:18:02,430
this uh... this part of the script is
called suppression uh... the trigger is

384
00:18:02,430 --> 00:18:03,440
checked

385
00:18:03,440 --> 00:18:05,130
and the second thing is

386
00:18:05,130 --> 00:18:08,500
with every doing that on trigger or on
call either

387
00:18:08,500 --> 00:18:11,789
uh... one of the two of the attached
matter rigid body you know that you know

388
00:18:11,789 --> 00:18:15,340
if it's not actually getting is
excellent

389
00:18:15,340 --> 00:18:16,060
something that

390
00:18:16,060 --> 00:18:19,250
colonizing sometimes but just has to be
that way

391
00:18:19,250 --> 00:18:20,570
cell

392
00:18:20,570 --> 00:18:23,060
if you take a look at the humanity

393
00:18:23,060 --> 00:18:24,290
i come

394
00:18:24,290 --> 00:18:26,070
that this is a simple rigid body on it

395
00:18:26,070 --> 00:18:30,280
a turn-off gravity and put it on is can
act that way it's not being physics and

396
00:18:30,280 --> 00:18:33,140
anyway usually moved around by its
transform

397
00:18:33,140 --> 00:18:34,669
tum moving like this

398
00:18:34,669 --> 00:18:37,160
you know being manipulated by a script

399
00:18:37,160 --> 00:18:38,340
so very simple

400
00:18:38,340 --> 00:18:39,700
just make sure that

401
00:18:39,700 --> 00:18:42,920
uh... the enemy object or whatever's
going to trigger this

402
00:18:42,920 --> 00:18:44,400
has that on it

403
00:18:44,400 --> 00:18:45,350
and leslie

404
00:18:45,350 --> 00:18:48,340
we have a paid created paid company

405
00:18:48,340 --> 00:18:51,049
and added that to it

406
00:18:51,049 --> 00:18:53,590
and that's because um... next uh...

407
00:18:53,590 --> 00:18:55,430
twenty get this on to enter

408
00:18:55,430 --> 00:18:59,070
and here it's just uh... is taking in
what centers

409
00:18:59,070 --> 00:19:03,290
uh... ansi collider and this other here
could actually be anything whatsoever

410
00:19:03,290 --> 00:19:05,200
and that's a very long and that's

411
00:19:05,200 --> 00:19:09,720
uh... ahmedabad you use other as it
reminds me of that

412
00:19:09,720 --> 00:19:14,360
item is the other thing that's coming
into this of history here

413
00:19:14,360 --> 00:19:17,240
so other is a type of collider

414
00:19:17,240 --> 00:19:21,850
so i can check it other backing object
outtakes checking it this objects

415
00:19:21,850 --> 00:19:25,400
entering objects penny

416
00:19:25,400 --> 00:19:28,850
and out and he's just entered and won
dates and stuff

417
00:19:28,850 --> 00:19:34,200
so my case first thing i do actually is
seventeen expire time

418
00:19:34,200 --> 00:19:36,560
to be caused a bit ahead

419
00:19:36,560 --> 00:19:40,090
and this expired kind is uh...

420
00:19:40,090 --> 00:19:44,520
decided sounds when the next time that
the terror is going to go out the fire

421
00:19:44,520 --> 00:19:48,480
amicus wait just a little bit first
because of the lungs

422
00:19:48,480 --> 00:19:53,880
the instantly that and he comes into
into range

423
00:19:53,880 --> 00:19:56,440
trip is going to realize that i have a
target

424
00:19:56,440 --> 00:19:56,920
fam

425
00:19:56,920 --> 00:19:58,309
firing away

426
00:19:58,309 --> 00:20:01,049
which of course doesn't work because
he's not pointing

427
00:20:01,049 --> 00:20:05,309
most likely happening anywhere near the
target doses of vaccines sweating a

428
00:20:05,309 --> 00:20:08,440
little bit of time at the front allows
him

429
00:20:08,440 --> 00:20:09,620
turn and face

430
00:20:09,620 --> 00:20:10,720
uh... game

431
00:20:10,720 --> 00:20:12,360
and then fire cell

432
00:20:12,360 --> 00:20:16,030
uh... i tested the real time times point
five so

433
00:20:16,030 --> 00:20:18,649
half of the real time seemed to work
well something you can

434
00:20:18,649 --> 00:20:22,640
change around but if you if you'd rather

435
00:20:22,640 --> 00:20:24,409
uh... ok so next

436
00:20:24,409 --> 00:20:28,300
uh... we gets targets elitist movie
script my target

437
00:20:28,300 --> 00:20:30,929
which is again the miracle appear target

438
00:20:30,929 --> 00:20:33,230
images they transform

439
00:20:33,230 --> 00:20:35,260
uh... equals

440
00:20:35,260 --> 00:20:37,100
dot came out to transform

441
00:20:37,100 --> 00:20:40,440
and one little thing here we're not just
grinning

442
00:20:40,440 --> 00:20:44,450
uh... the game object because it always
makes things a little quicker if you

443
00:20:44,450 --> 00:20:47,940
don't have to step at these levels
anymore than possible

444
00:20:47,940 --> 00:20:52,210
so i'm directly send to transform
because that means when i go to target

445
00:20:52,210 --> 00:20:53,480
this object

446
00:20:53,480 --> 00:20:55,809
i don't have to later say you know

447
00:20:55,809 --> 00:20:56,720
target

448
00:20:56,720 --> 00:20:58,840
position equals

449
00:20:58,840 --> 00:21:00,570
my target

450
00:21:00,570 --> 00:21:06,810
transform opposition i can simply say my
target oxygen

451
00:21:06,810 --> 00:21:08,540
one-time moving uh...

452
00:21:08,540 --> 00:21:10,860
and i'm not sure if the technical term
is

453
00:21:10,860 --> 00:21:14,630
but they're moving phyllis basically
saying um... rice's all those you know

454
00:21:14,630 --> 00:21:17,390
get component calls and i think they are
basically

455
00:21:17,390 --> 00:21:21,380
conciliate an attempt on them happening
an ideological pennies you might just

456
00:21:21,380 --> 00:21:26,440
companies and the indians just one more
thing to me performance better uh...

457
00:21:26,440 --> 00:21:30,680
okay so we're targeting transforma
redundant

458
00:21:30,680 --> 00:21:32,850
and then i would have a target

459
00:21:32,850 --> 00:21:35,410
we move on

460
00:21:35,410 --> 00:21:39,790
defunct update is now so i'm going to
function so next time this uh... an

461
00:21:39,790 --> 00:21:41,950
extreme liberals around in the script
get sr

462
00:21:41,950 --> 00:21:46,380
ran through uh... workshop is going to
happen due to the target

463
00:21:46,380 --> 00:21:48,790
and now we're going to check a few more
things

464
00:21:48,790 --> 00:21:49,809
so first of all

465
00:21:49,809 --> 00:21:52,790
it's time to time slot time in the
caribbean

466
00:21:52,790 --> 00:21:54,970
is greater than the next move time

467
00:21:54,970 --> 00:21:57,400
and it's going to trying to gain

468
00:21:57,400 --> 00:21:59,560
the actual turn

469
00:21:59,560 --> 00:22:00,300
so

470
00:22:00,300 --> 00:22:01,229
what this checks

471
00:22:01,229 --> 00:22:05,460
uh... responses using this next move
time here what is happening at setup

472
00:22:05,460 --> 00:22:08,230
so that again is to make a little more
realistic

473
00:22:08,230 --> 00:22:09,580
uh...

474
00:22:09,580 --> 00:22:13,380
when it rains it passes for a second and
the names again so

475
00:22:13,380 --> 00:22:15,230
uh...

476
00:22:15,230 --> 00:22:18,799
that way and i think i went over the
city a few minutes ago basically just

477
00:22:18,799 --> 00:22:20,250
makes alot more realistic

478
00:22:20,250 --> 00:22:22,540
and doesn't keep constantly turning

479
00:22:22,540 --> 00:22:25,870
cell if we have gone past that time

480
00:22:25,870 --> 00:22:29,590
uh... they're going to cocaine
imposition

481
00:22:29,590 --> 00:22:31,070
so this is a function

482
00:22:31,070 --> 00:22:31,779
pat

483
00:22:31,779 --> 00:22:34,850
uses the targets position right here

484
00:22:34,850 --> 00:22:37,570
surpasses that along to take a look at

485
00:22:37,570 --> 00:22:40,670
so quickly and positions right down here

486
00:22:40,670 --> 00:22:42,190
answer takes in

487
00:22:42,190 --> 00:22:45,049
my target dot position

488
00:22:45,049 --> 00:22:48,930
pixon as a vector three

489
00:22:48,930 --> 00:22:52,610
and it does have stuck to itself first
recreate a suitable time for a terrible

490
00:22:52,610 --> 00:22:55,390
called pinpoint and this is

491
00:22:55,390 --> 00:22:58,409
exactly where point in the world

492
00:22:58,409 --> 00:23:00,860
that beater is going to any yet

493
00:23:00,860 --> 00:23:03,929
and that is a picture three of course
it's your position

494
00:23:03,929 --> 00:23:05,930
and take the target position

495
00:23:05,930 --> 00:23:08,120
between you can't come up here

496
00:23:08,120 --> 00:23:09,820
we take that acts

497
00:23:09,820 --> 00:23:11,550
plus the emir

498
00:23:11,550 --> 00:23:15,309
attack a position that why it's just a
minute acquisition of z

499
00:23:15,309 --> 00:23:19,370
speaking

500
00:23:19,370 --> 00:23:20,510
so this way

501
00:23:20,510 --> 00:23:24,890
cleared of sending you know a little bit
of a random amounts onto each of the x_

502
00:23:24,890 --> 00:23:26,460
y_ and z_ points

503
00:23:26,460 --> 00:23:27,289
so that

504
00:23:27,289 --> 00:23:28,450
uh...

505
00:23:28,450 --> 00:23:31,690
you know that purchasing stepping a
little differently each time and you

506
00:23:31,690 --> 00:23:34,230
could take out a few gratitude exactly

507
00:23:34,230 --> 00:23:37,669
uh... i think it's nice just because you
can do about a year

508
00:23:37,669 --> 00:23:41,600
maybe you and your upgrade options
workers later on if we get a for doing

509
00:23:41,600 --> 00:23:44,110
it yourself

510
00:23:44,110 --> 00:23:47,300
this makes room for one of the great
options to be

511
00:23:47,300 --> 00:23:51,970
upgrading the accuracy each time the
person i saw actually you can and

512
00:23:51,970 --> 00:23:55,049
so wanting their just a and that extra

513
00:23:55,049 --> 00:23:56,670
then we want to

514
00:23:56,670 --> 00:23:59,620
choose a rotation for this thing is a
little complex here

515
00:23:59,620 --> 00:24:01,230
but uh... mattered

516
00:24:01,230 --> 00:24:04,070
break it up by using these two different
their most you could technically do this

517
00:24:04,070 --> 00:24:05,070
and one

518
00:24:05,070 --> 00:24:08,820
uh... but the desired locations where we
want

519
00:24:08,820 --> 00:24:11,400
terror attacks you repeat here what its

520
00:24:11,400 --> 00:24:13,810
you know it's it's quite turning
rotation should be

521
00:24:13,810 --> 00:24:18,570
and betraying their country uh... kirk
agreeing complex since then and just you

522
00:24:18,570 --> 00:24:22,390
know three x_y_ and z_ reaction fourth
which is a w

523
00:24:22,390 --> 00:24:24,940
and also both understand at least

524
00:24:24,940 --> 00:24:26,200
and my opinion

525
00:24:26,200 --> 00:24:29,360
so uh...

526
00:24:29,360 --> 00:24:31,980
just isn't that work

527
00:24:31,980 --> 00:24:36,710
and uh... than the standard and actually
the unity standard reputation system you

528
00:24:36,710 --> 00:24:37,890
can complete

529
00:24:37,890 --> 00:24:41,400
call you were able to that time the f

530
00:24:41,400 --> 00:24:45,120
because prompter found specialties he's
ask returns

531
00:24:45,120 --> 00:24:48,140
uh... mission excelsior explicitly

532
00:24:48,140 --> 00:24:49,730
dedication we want

533
00:24:49,730 --> 00:24:51,210
equals

534
00:24:51,210 --> 00:24:53,520
uh... you look rotation aim point

535
00:24:53,520 --> 00:24:55,560
so all this is basically saying is

536
00:24:55,560 --> 00:24:57,990
we want to be at a rotation

537
00:24:57,990 --> 00:24:59,950
where we are looking at

538
00:24:59,950 --> 00:25:00,880
endpoint

539
00:25:00,880 --> 00:25:04,410
so we're looking at three point at which

540
00:25:04,410 --> 00:25:08,330
freedom which we want to gain against i
make sense

541
00:25:08,330 --> 00:25:09,790
so uh...

542
00:25:09,790 --> 00:25:10,720
something that

543
00:25:10,720 --> 00:25:13,140
dramatic oakley came position

544
00:25:13,140 --> 00:25:14,600
sickness it happening

545
00:25:14,600 --> 00:25:17,970
every single frame that we have a target

546
00:25:17,970 --> 00:25:20,130
and it's been long enough

547
00:25:20,130 --> 00:25:21,400
since we last

548
00:25:21,400 --> 00:25:23,760
uh... since we last move

549
00:25:23,760 --> 00:25:26,950
going to keep ending up at target

550
00:25:26,950 --> 00:25:30,240
cell or we keep getting imposition

551
00:25:30,240 --> 00:25:34,900
and then here we're going to actually
wrote a peter box which is saved her

552
00:25:34,900 --> 00:25:38,289
ball dot rotation acceptance directly

553
00:25:38,289 --> 00:25:40,350
equals attorney and uh... alert

554
00:25:40,350 --> 00:25:46,400
oldest those is alert is just a gradual
change from one to another

555
00:25:46,400 --> 00:25:50,480
so it's going from interpretation

556
00:25:50,480 --> 00:25:53,780
to the desired location which again we
just figured out

557
00:25:53,780 --> 00:25:55,530
in the calculate

558
00:25:55,530 --> 00:26:00,570
sorry macaca in position here

559
00:26:00,570 --> 00:26:01,870
and it's doing that

560
00:26:01,870 --> 00:26:03,840
so we didn't have the star

561
00:26:03,840 --> 00:26:06,050
that and

562
00:26:06,050 --> 00:26:07,460
the uh...

563
00:26:07,460 --> 00:26:09,049
the amount to do it

564
00:26:09,049 --> 00:26:13,610
so here or using the kind of coming in
for a little trip to the works well

565
00:26:13,610 --> 00:26:16,359
uh... normally this is in the world from
zero to one

566
00:26:16,359 --> 00:26:18,860
and you'd want to use italy raise it

567
00:26:18,860 --> 00:26:24,260
from zero to one over the course uh...
of the same time or some such

568
00:26:24,260 --> 00:26:34,260
when this case we don't really and time
to talk to be perhaps reagan the penske

569
00:26:34,690 --> 00:26:36,669
always the uh...

570
00:26:36,669 --> 00:26:38,059
less than one

571
00:26:38,059 --> 00:26:41,509
but dingell spokesman called his
opponent of the time

572
00:26:41,509 --> 00:26:42,370
into any of

573
00:26:42,370 --> 00:26:46,509
really long frame befriended sticks long
in a second so first of all he has a

574
00:26:46,509 --> 00:26:48,380
major performances you something else is

575
00:26:48,380 --> 00:26:50,390
usually dont at that point

576
00:26:50,390 --> 00:26:53,950
improbable and stand on the panel always
p

577
00:26:53,950 --> 00:26:56,690
uh... but someone students if you
multiply that by

578
00:26:56,690 --> 00:26:58,390
i return speed

579
00:26:58,390 --> 00:27:00,470
and it will

580
00:27:00,470 --> 00:27:04,740
cosmopolitan just always be a little bit
less than all the way in

581
00:27:04,740 --> 00:27:06,650
so that's cute

582
00:27:06,650 --> 00:27:11,050
moving closer to this desired location
from the start retention

583
00:27:11,050 --> 00:27:13,860
uh... ok soothing that retain toward it

584
00:27:13,860 --> 00:27:17,750
and then secondly now that i can have a
target sets is all happening

585
00:27:17,750 --> 00:27:21,360
so after this happened peco the evenings
happen

586
00:27:21,360 --> 00:27:25,520
if deep and a time like in the second
time is greater than the next

587
00:27:25,520 --> 00:27:28,800
wiretapping so when we want to be
allowed to fired

588
00:27:28,800 --> 00:27:32,090
direction into player a projectile

589
00:27:32,090 --> 00:27:33,419
steckel cady

590
00:27:33,419 --> 00:27:39,340
player projectile

591
00:27:39,340 --> 00:27:40,880
the first thing we do

592
00:27:40,880 --> 00:27:43,120
is simply play the audio out

593
00:27:43,120 --> 00:27:46,890
which is just whatever the default audio
settings

594
00:27:46,890 --> 00:27:50,559
and then we work ah... we set up this
mess fire timed so we decided to hold

595
00:27:50,559 --> 00:27:52,150
the script

596
00:27:52,150 --> 00:27:56,170
to not be able to fire her until the
amount of time has passed that is the

597
00:27:56,170 --> 00:27:57,559
real on time

598
00:27:57,559 --> 00:28:00,830
so pretty simple which is saying next
fire time equals

599
00:28:00,830 --> 00:28:01,869
time at times

600
00:28:01,869 --> 00:28:03,590
cast real time

601
00:28:03,590 --> 00:28:04,100
uh...

602
00:28:04,100 --> 00:28:05,540
nothing more than that

603
00:28:05,540 --> 00:28:08,299
d next month and we do the same thing
because

604
00:28:08,299 --> 00:28:09,440
uh... now that

605
00:28:09,440 --> 00:28:13,780
it's firing we want to set that the
coupons during player

606
00:28:13,780 --> 00:28:16,590
so we say next move time make a stand
and pasta

607
00:28:16,590 --> 00:28:19,430
buyer pastime so that will of course be

608
00:28:19,430 --> 00:28:23,850
less than the real time switches causes
and keeps moving

609
00:28:23,850 --> 00:28:24,740
um...

610
00:28:24,740 --> 00:28:27,590
we're going to completely aim here at
this point

611
00:28:27,590 --> 00:28:29,110
uh... and we're doing this

612
00:28:29,110 --> 00:28:32,520
right here instead of in the function
update because i thought if it's

613
00:28:32,520 --> 00:28:35,440
constantly resort of uh...

614
00:28:35,440 --> 00:28:37,910
re finding that their amount

615
00:28:37,910 --> 00:28:44,799
peter it just looks like it's bouncing
around passengers absolute markers

616
00:28:44,799 --> 00:28:46,950
digestive biscuits time it's going to

617
00:28:46,950 --> 00:28:50,049
game which makes sense is if you were
you know aiming

618
00:28:50,049 --> 00:28:54,620
you know your life for something at
target

619
00:28:54,620 --> 00:28:57,880
game and they've been certain a
remarkable fire and again and again to

620
00:28:57,880 --> 00:28:58,570
get

621
00:28:58,570 --> 00:29:00,179
so this is going to do it

622
00:29:00,179 --> 00:29:03,640
right after firing so that we

623
00:29:03,640 --> 00:29:06,960
could extend the game is commuter
paramount

624
00:29:06,960 --> 00:29:09,670
dysfunction take a quick look at this
one

625
00:29:09,670 --> 00:29:15,400
very simple which it says the emir which
again is the emir that's used

626
00:29:15,400 --> 00:29:17,420
we're getting that name

627
00:29:17,420 --> 00:29:19,450
the senior equals

628
00:29:19,450 --> 00:29:22,660
just a random that range negative
fairmount fairmount

629
00:29:22,660 --> 00:29:25,419
and i just make sure status here

630
00:29:25,419 --> 00:29:26,200
too

631
00:29:26,200 --> 00:29:27,370
three we're not

632
00:29:27,370 --> 00:29:29,590
only hearing took the you know

633
00:29:29,590 --> 00:29:31,679
and a positive direction that can be
ended

634
00:29:31,679 --> 00:29:32,639
all

635
00:29:32,639 --> 00:29:35,850
you know of the completely free thier
amount

636
00:29:35,850 --> 00:29:40,010
just as a negative to positive of that
number so that's going to be somewhere

637
00:29:40,010 --> 00:29:41,210
in between

638
00:29:41,210 --> 00:29:45,090
those two numbers from my case it's
uh...

639
00:29:45,090 --> 00:29:50,039
to to do what i have said it has to be
spell group said earlier to get

640
00:29:50,039 --> 00:29:55,010
somewhere between later tumhala to flow
so it could be one point seven five

641
00:29:55,010 --> 00:29:56,900
eight nine or it could be

642
00:29:56,900 --> 00:29:58,920
uh... t

643
00:29:58,920 --> 00:30:01,130
uh... wanting to refusing int

644
00:30:01,130 --> 00:30:04,990
in aaron and arrange it will never equal
the and about

645
00:30:04,990 --> 00:30:06,440
supplies and

646
00:30:06,440 --> 00:30:07,739
you know came here

647
00:30:07,739 --> 00:30:10,640
as an int he calls random that range

648
00:30:10,640 --> 00:30:11,740
native airmail

649
00:30:11,740 --> 00:30:14,250
piles of them out

650
00:30:14,250 --> 00:30:17,700
uh... iffy paramount was too

651
00:30:17,700 --> 00:30:22,840
i would only get one zero or one you'll
never get that and uh... the extremes

652
00:30:22,840 --> 00:30:26,060
uh... that was basically said just
remember

653
00:30:26,060 --> 00:30:30,350
answered the phone line you'll get the
lowest among but now the top routes to

654
00:30:30,350 --> 00:30:31,609
get in a tatoo

655
00:30:31,609 --> 00:30:33,410
right

656
00:30:33,410 --> 00:30:37,110
uh... just in case you run into a
problem that i have before frustrating

657
00:30:37,110 --> 00:30:38,760
for hours before i figure it out

658
00:30:38,760 --> 00:30:40,030
what was going on

659
00:30:40,030 --> 00:30:41,580
uh... however with floats

660
00:30:41,580 --> 00:30:43,930
you get the whole thing

661
00:30:43,930 --> 00:30:47,040
okay so because they did that a royal
now we're going to

662
00:30:47,040 --> 00:30:50,340
do some more exciting things

663
00:30:50,340 --> 00:30:54,169
the muzzle to muzzle positions and what
this does he of course is just run

664
00:30:54,169 --> 00:30:58,080
through your for a group each of the
muscle positions so

665
00:30:58,080 --> 00:31:00,590
here you could have been submitted to us
as you were

666
00:31:00,590 --> 00:31:01,960
you could even just

667
00:31:01,960 --> 00:31:04,890
uh... i guess just for example the
students here

668
00:31:04,890 --> 00:31:08,070
i select each of these berles an
enchanting

669
00:31:08,070 --> 00:31:10,490
rosalind or insult

670
00:31:10,490 --> 00:31:12,730
and i'm gonna copy them

671
00:31:12,730 --> 00:31:14,060
now we've got

672
00:31:14,060 --> 00:31:17,049
form going on here

673
00:31:17,049 --> 00:31:19,590
and look at a couple more discipline

674
00:31:19,590 --> 00:31:20,890
uh... so

675
00:31:20,890 --> 00:31:22,679
crazy period

676
00:31:22,679 --> 00:31:24,440
and

677
00:31:24,440 --> 00:31:27,960
email and we don't want to just makes it
easier on myself we now have two

678
00:31:27,960 --> 00:31:31,630
crystalline and added to the muzzle
positions

679
00:31:31,630 --> 00:31:36,500
uh... c subject

680
00:31:36,500 --> 00:31:40,360
the each

681
00:31:40,360 --> 00:31:43,240
absolute lessons

682
00:31:43,240 --> 00:31:48,220
so we have to assign each of those new
muscle positions right now the sizes too

683
00:31:48,220 --> 00:31:50,919
infectious go through

684
00:31:50,919 --> 00:31:58,090
nature and drop in the future minimums

685
00:31:58,090 --> 00:32:02,100
now assuming that have been broken
anything

686
00:32:02,100 --> 00:32:03,010
ideal

687
00:32:03,010 --> 00:32:05,480
soap

688
00:32:05,480 --> 00:32:08,780
it still works just fine and that's one
thing i like to try and go into strips

689
00:32:08,780 --> 00:32:13,270
is the ability to uh... adapter what's
been given to them but some in this case

690
00:32:13,270 --> 00:32:17,010
ships automatically goes to run through
all the payroll stubs that to a certain

691
00:32:17,010 --> 00:32:21,370
number sucks surgeon exact wants a hard
coded in

692
00:32:21,370 --> 00:32:25,590
uh... include quick things coming out of
the corporate adds more barrels

693
00:32:25,590 --> 00:32:26,870
permitting

694
00:32:26,870 --> 00:32:27,399
uh...

695
00:32:27,399 --> 00:32:32,850
that's fun stuff you can get essentially
u_s_ i think a silly question

696
00:32:32,850 --> 00:32:36,250
uh... okay so that's running through all
of those uh...

697
00:32:36,250 --> 00:32:40,210
and then just quickly first instantiate
the projectile

698
00:32:40,210 --> 00:32:44,960
in the project ballots here in moscow
inspector

699
00:32:44,960 --> 00:32:48,670
uh... drops it in at the muzzle position
animals rotation into that way it's

700
00:32:48,670 --> 00:32:50,290
going to be facing

701
00:32:50,290 --> 00:32:53,410
right down the barrel to start with

702
00:32:53,410 --> 00:32:57,990
and does the same thing for the muscle
factory trigger

703
00:32:57,990 --> 00:32:59,850
on quick no on this

704
00:32:59,850 --> 00:33:00,760
the

705
00:33:00,760 --> 00:33:03,330
muscle on to legend

706
00:33:03,330 --> 00:33:05,099
make sure just seen as we did with

707
00:33:05,099 --> 00:33:06,730
the uh...

708
00:33:06,730 --> 00:33:11,279
uh... with the world and local rotation
eating the same for peace

709
00:33:11,279 --> 00:33:13,650
not just in case in my case it's

710
00:33:13,650 --> 00:33:15,160
it is correct or any

711
00:33:15,160 --> 00:33:18,670
problem occurred in the local but here
is the is pointing

712
00:33:18,670 --> 00:33:20,670
down the barrel just gonna make it

713
00:33:20,670 --> 00:33:22,980
orc quickly otherwise

714
00:33:22,980 --> 00:33:24,000
uh...

715
00:33:24,000 --> 00:33:31,890
just for and for

716
00:33:31,890 --> 00:33:37,390
rotate them

717
00:33:37,390 --> 00:33:40,309
so i'm not actually pointing down is a

718
00:33:40,309 --> 00:33:46,250
see the come find out countries
interaction like that

719
00:33:46,250 --> 00:33:51,430
you do not want us to go back
chandrakant

720
00:33:51,430 --> 00:33:55,790
so just make sure that uh... mother
position is facing a retraction because

721
00:33:55,790 --> 00:33:56,669
is spawning

722
00:33:56,669 --> 00:33:58,269
the uh...

723
00:33:58,269 --> 00:34:01,059
the bullets and uh... fire

724
00:34:01,059 --> 00:34:02,730
in that direction

725
00:34:02,730 --> 00:34:06,710
so we have that faring announce uh...

726
00:34:06,710 --> 00:34:10,019
i believe that's pretty much of her how
this is all working

727
00:34:10,019 --> 00:34:11,200
uh... one

728
00:34:11,200 --> 00:34:14,249
last thing i think i'd like to go over a
little bit and i don't think we have a

729
00:34:14,249 --> 00:34:16,479
uh... explain wilma

730
00:34:16,479 --> 00:34:19,649
uh... is it the uh... playing time

731
00:34:19,649 --> 00:34:21,030
and with this

732
00:34:21,030 --> 00:34:24,579
to be creative people you know let me
know

733
00:34:24,579 --> 00:34:27,829
wrong i write about listing of this new
methods are shown how to put things

734
00:34:27,829 --> 00:34:28,929
together

735
00:34:28,929 --> 00:34:30,729
uh... more quickly this way

736
00:34:30,729 --> 00:34:34,829
uh... if it works well uh... let me know
uh... looking to your question to keep

737
00:34:34,829 --> 00:34:38,600
doing it this way or failing impact i
need to redo this

738
00:34:38,600 --> 00:34:41,279
uh... annually i'll prob just let me
know

739
00:34:41,279 --> 00:34:45,719
but hopefully this will be uh... a
little less painstaking tedious uh...

740
00:34:45,719 --> 00:34:49,479
especially for those of you are you
going to alter tutorials which should be

741
00:34:49,479 --> 00:34:54,049
i mean she go to the for getting into
these they really more advanced

742
00:34:54,049 --> 00:34:58,599
if you were talking about being on the
firing times so just in case this

743
00:34:58,599 --> 00:35:02,059
uh... democratic sense skimmed over a
bit

744
00:35:02,059 --> 00:35:04,590
uh... the fire times uh...

745
00:35:04,590 --> 00:35:06,999
all this is doing again is

746
00:35:06,999 --> 00:35:08,950
uh...

747
00:35:08,950 --> 00:35:10,599
current time

748
00:35:10,599 --> 00:35:14,379
adding on whenever might we want to and
then wait untill

749
00:35:14,379 --> 00:35:18,170
the time equals and you're not basically
it's a time is

750
00:35:18,170 --> 00:35:20,119
ten seconds into the game

751
00:35:20,119 --> 00:35:21,729
we fire

752
00:35:21,729 --> 00:35:25,279
and i my reload time it's a five seconds

753
00:35:25,279 --> 00:35:30,419
it's going to la that's the census comes
by unexpired time is going to be

754
00:35:30,419 --> 00:35:34,399
and the time which is ten seconds
history of the time which was five

755
00:35:34,399 --> 00:35:38,099
so the next fire time equals fifteen
seconds

756
00:35:38,099 --> 00:35:39,419
so now

757
00:35:39,419 --> 00:35:43,659
going to update what's going to happen
is last let's say one second later and

758
00:35:43,659 --> 00:35:48,139
on time which is going to be eleven
because that's where time genes fifteen

759
00:35:48,139 --> 00:35:52,999
don't have to do anything twelve network
thirteen fourteen hours network fifteen

760
00:35:52,999 --> 00:35:58,259
it will work animal and fire evidence
campaign add another real-time say five

761
00:35:58,259 --> 00:36:02,209
announced twenty slots going to keep
going savings and loan thompson exact

762
00:36:02,209 --> 00:36:03,319
concept

763
00:36:03,319 --> 00:36:04,190
uh...

764
00:36:04,190 --> 00:36:07,700
can have the greater than or equal
because came one thing that i got stuck

765
00:36:07,700 --> 00:36:09,599
on for a little while

766
00:36:09,599 --> 00:36:12,919
to review more bands fifteen people she
works with other things correct uh...

767
00:36:12,919 --> 00:36:14,559
but for me

768
00:36:14,559 --> 00:36:19,559
was a runaway anysuch use just people's
seminar courses critical time but

769
00:36:19,559 --> 00:36:21,840
actually a lot of cases that never will

770
00:36:21,840 --> 00:36:23,839
it'll be

771
00:36:23,839 --> 00:36:27,339
x you probably fifteen point two five
seven or something

772
00:36:27,339 --> 00:36:28,330
uh... socal

773
00:36:28,330 --> 00:36:32,000
field but friends aren't exactly per
second so then i'm going over so we

774
00:36:32,000 --> 00:36:36,050
always want to check for greater then
article to or if you're going out a

775
00:36:36,050 --> 00:36:38,509
direction less than or equal to

776
00:36:38,509 --> 00:36:42,949
in this case at least before time
factors like this uh...

777
00:36:42,949 --> 00:36:46,839
but it's one of the over that spectral
quick uh...

778
00:36:46,839 --> 00:36:50,529
given the ethical questions in the forms
others should be really fun series to be

779
00:36:50,529 --> 00:36:51,800
going through

780
00:36:51,800 --> 00:36:56,120
uh... in the index that's where we're
going to add and summary all day on into

781
00:36:56,120 --> 00:36:57,169
the spirit

782
00:36:57,169 --> 00:37:00,239
home which is something that i'm coming
to work and opened a little trickier

783
00:37:00,239 --> 00:37:03,709
than it seemed at first it was going to
be part of this tutorial but look at the

784
00:37:03,709 --> 00:37:07,470
time actually that is a good thing uh...

785
00:37:07,470 --> 00:37:11,009
receiving notice uh... made

786
00:37:11,009 --> 00:37:15,390
as a moving this paper is not smart two
in the head of where it's moving which

787
00:37:15,390 --> 00:37:15,950
pics

788
00:37:15,950 --> 00:37:17,530
bit of uh...

789
00:37:17,530 --> 00:37:21,510
nectar calculations pants and stuff but
will get into that in the next one by

790
00:37:21,510 --> 00:37:23,359
something that will be needed

791
00:37:23,359 --> 00:37:27,889
uh... ok great because under this com
and looking forward to the future ones

792
00:37:27,889 --> 00:37:32,569
uh... let me know if you have any
suggestions for

793
00:37:32,569 --> 00:37:35,720
email her types of things like that but
i can try and bob

794
00:37:35,720 --> 00:37:37,630
clinton have serious

795
00:37:37,630 --> 00:37:40,010
it's definitely doing modular uh...

796
00:37:40,010 --> 00:37:42,440
you know putting things together as we
go

797
00:37:42,440 --> 00:37:46,809
uh... experience for a selfless
willoughby as well as you guys uh...

798
00:37:46,809 --> 00:37:52,809
triggered a ok thanks for watching to
see you next time

