YouTube2Text

Dynamic Hair Physics! | Roblox SmartBone 2 — Transcript

by Paul1Rb · 3,482 words · 489 segments · language en · Watch on YouTube

Full transcript

  1. 0:00so I've made few smart bone tutorials
  2. 0:01already and you guys have been
  3. 0:02requesting that I make hair so I'm going
  4. 0:04to show you how to make Dynamic Hair
  5. 0:06physics simulation on Roblox and I
  6. 0:08already have a hair model I've made but
  7. 0:10whenever I try to add hair physics to
  8. 0:12this I'm just going to show what happens
  9. 0:15well as you can see that so I kind of
  10. 0:18thought that hey I need to use a
  11. 0:19different hair model and because of that
  12. 0:21I'm going to export this hair into
  13. 0:22blender because this one is kind of
  14. 0:24universal and this is a good example of
  15. 0:26how to rig the hair for smart bone and
  16. 0:29if you want to export this yourself you
  17. 0:31can right click on the model and press
  18. 0:32on export selection this will export it
  19. 0:35as an obj file but anyways let's get to
  20. 0:38blender now and to import it you just do
  21. 0:41file import and then select the obj
  22. 0:46Legacy and then it's going to appear
  23. 0:48right here after you import it and then
  24. 0:50you want to position it in the center so
  25. 0:53I'm just going to enable the screencast
  26. 0:55Keys really quickly so you can see what
  27. 0:56I'm pressing but you want to go into the
  28. 0:58edit mode select
  29. 1:00everything and then search for the carer
  30. 1:03to selected option now go back to the
  31. 1:05object mode and then search for origin
  32. 1:09to 3D cursor this will make it so the
  33. 1:11origin point is going to be in the
  34. 1:13center and then from there you can just
  35. 1:15reset the location in the transfer menu
  36. 1:17on the right like this and now since we
  37. 1:21exported this hair from Roblox there is
  38. 1:22some fixing that we need to do and that
  39. 1:24is because if I let's say press L on
  40. 1:26this part you can see how it's not
  41. 1:29connected to the ENT entire mesh and
  42. 1:31that's because of how Roblox basically
  43. 1:32just cuts every mesh into like these
  44. 1:34different sections but right now in the
  45. 1:37edit mode you want to select everything
  46. 1:39going to the vertex selection and then
  47. 1:42you want to basically just right click
  48. 1:44and select the mge
  49. 1:46vertices and choose the by distance
  50. 1:49option here you can see that it removed
  51. 1:51over 1,000 vertices so now if I press L
  52. 1:54on this part you can see that it
  53. 1:56selected the whole here instead and this
  54. 1:59is a separate part of the hair okay and
  55. 2:02now this is going to be the rigging part
  56. 2:04and I've said that this hair is
  57. 2:06universal and that's because of its
  58. 2:09volumes of hair you have a bit of the
  59. 2:12strings right here that go from the
  60. 2:14sides as well as this whole main section
  61. 2:16in the back and these parts are what you
  62. 2:19want to apply the physics simulation to
  63. 2:21you can apply them to all of these hair
  64. 2:23on the front but there isn't really a
  65. 2:25need for that it would just be an
  66. 2:27Overkill and also very performance heavy
  67. 2:30but anyways let's just add the Armature
  68. 2:33by pressing shift a and then selecting
  69. 2:35the Armature and you have to do it from
  70. 2:37the object mode and then I forgot to
  71. 2:39move the cursor to the word origin okay
  72. 2:43but the Armature should have applied
  73. 2:44right
  74. 2:46there so you just have this bone right
  75. 2:48here in the
  76. 2:51center and this is going to be the root
  77. 2:53bone that we want to position roughly
  78. 2:55around where the neck is going to be and
  79. 2:57how I like to structure the hair is that
  80. 2:59there is going to be the root bone and
  81. 3:02individual bones going out from it these
  82. 3:04other bones aren't going to affect
  83. 3:05anything except the bones are going to
  84. 3:07let say go down with the strengths of
  85. 3:10the
  86. 3:11hair but while being in the edit mode of
  87. 3:13the Armature that is after you're going
  88. 3:15to the Armature just press on Tab you
  89. 3:17want to select this point right here on
  90. 3:19the top and just extrude it with E and
  91. 3:23you want to hold down the scroll wheel
  92. 3:25to extrude it on the
  93. 3:28axis and us want to move it to the back
  94. 3:31right here and another thing that you
  95. 3:33can do is to view the Armature better
  96. 3:36you go to the object data properties
  97. 3:38right here and under the viewport
  98. 3:39display you select in front so now it's
  99. 3:42going to be a bit easier and where we
  100. 3:44want to position this point depends on
  101. 3:46the hair for example you can see that
  102. 3:48most of the hair is going out from this
  103. 3:51section right here so that's where the
  104. 3:53physic simulation is going to happen we
  105. 3:56don't want this top part to be moving
  106. 3:57really so I'm going to position it
  107. 3:59around this area where all of the other
  108. 4:01bones are going to go out from two
  109. 4:04that's going to be around
  110. 4:06from right here and now we add bones
  111. 4:10that are going to have the physics
  112. 4:12attached to them and we need to go down
  113. 4:14with the flow of the
  114. 4:22hair and you can see that there are
  115. 4:24these two sections one is at the back
  116. 4:26right here and the other is at the front
  117. 4:28we want to position these bones between
  118. 4:31them so they automatically adjust the
  119. 4:33proper
  120. 4:55weight and I'm going to deselect the in
  121. 4:57front for now
  122. 5:05okay and this part this karchy of bones
  123. 5:08that goes down this is basically going
  124. 5:10to handle this whole volume of hair and
  125. 5:13now we want to add two separate trees
  126. 5:15one going on the left that's going to
  127. 5:18handle this
  128. 5:19volume and one on the right that's going
  129. 5:21to handle this right volume and I also
  130. 5:24feel like these two parts right here
  131. 5:25don't really need to move but you could
  132. 5:27add more bones if you wanted to so again
  133. 5:29I'm going to just extrude
  134. 5:32it move it
  135. 5:35up and then move it to the
  136. 5:43left and I'm going to position it
  137. 5:46between these two right
  138. 5:50here and let's just go down with the
  139. 5:52flow of the her again
  140. 6:21and how many bones you add is also
  141. 6:23entirely up to you the more bones the
  142. 6:25more performance heavy is going to be
  143. 6:27but you're also going to have more
  144. 6:28detail and now we do the same for the
  145. 6:31other part and this doesn't really have
  146. 6:33to be too symmetrical
  147. 7:12so we have the back section basically
  148. 7:14just done I just need to adjust this one
  149. 7:17right there and now let's move to the
  150. 7:19front
  151. 7:27one and for this one I just want to
  152. 7:29position these bones around these stains
  153. 7:31like
  154. 7:43this then to select these
  155. 7:47both and move them upwards to where the
  156. 7:50strength is basically just
  157. 7:57starting and just keep exing them
  158. 8:18downwards so that's it for basically
  159. 8:21creating the Armature you don't need to
  160. 8:23cover the whole here or make the
  161. 8:25structure so you have these chains of
  162. 8:26Bones going to every basically strain so
  163. 8:29like this will give a good effect
  164. 8:31anyways so now we want to apply the hair
  165. 8:33to the Armature and we do so by
  166. 8:36selecting the hair then the Armature and
  167. 8:38pressing on contrl and P if you don't
  168. 8:41have these options with the Armature
  169. 8:42deform that means you selected them
  170. 8:44incorrectly if I for example select the
  171. 8:46Armature then the hair I'm not going to
  172. 8:48have these options right there so again
  173. 8:50select the hair then the Armature and
  174. 8:53press on contrl and P then you just want
  175. 8:55to select with automatic weights and now
  176. 8:58we need to do some weight adjustments so
  177. 9:01while having the object selected you can
  178. 9:03see that you have a lot of these vertex
  179. 9:05groups whenever you press on one and go
  180. 9:08to the weight pain mode this will make
  181. 9:10it so it's going to show you the weight
  182. 9:12of each bone and this means how much
  183. 9:14influence the bone has over that area
  184. 9:17the first thing we need to do is remove
  185. 9:19the weight from these bones right here
  186. 9:21because they aren't going to be moving
  187. 9:22anyway and we do so by going to the
  188. 9:25objects edit mode selecting everything
  189. 9:28and pressing all
  190. 9:30remove so we removed everything from the
  191. 9:32root bone right here and we also want to
  192. 9:34do the same for this
  193. 9:36bone so select everything and then
  194. 9:41remove and now this bone right here is a
  195. 9:43bit more tricky because we just need to
  196. 9:45remove the weight from this top part so
  197. 9:48you can go somewhere to like the back
  198. 9:51view and then in the edit
  199. 9:54mode go to the wireframe view and want
  200. 9:58to just select the this stop
  201. 10:02part and I didn't select everything
  202. 10:05properly and then just press on remove
  203. 10:09you can see how these strains of hair
  204. 10:10are basically being separated from right
  205. 10:12here so you want to simulate the physics
  206. 10:15from this point so that's basically
  207. 10:17going to be everything for these four
  208. 10:19bones in the
  209. 10:23middle except just few adjustments that
  210. 10:25I'm going to show later now if I go to
  211. 10:27the next bone
  212. 10:29which you can see that it basically
  213. 10:31jumps from the bottom right here to the
  214. 10:34top that means it switched from the last
  215. 10:36bone in the karchy here to the next one
  216. 10:38that we made and from this one I just
  217. 10:41want to select everything again and
  218. 10:42press on
  219. 10:44remove then on the lower one again just
  220. 10:47go to the front view first here just
  221. 10:50select this whole
  222. 10:52thing because like I said I don't really
  223. 10:54want this to move so I just press on
  224. 10:56remove and I just select everything from
  225. 10:58this point
  226. 11:01onwards and again press on
  227. 11:04remove and then you can see how it has a
  228. 11:06little bit of weight right here and
  229. 11:08don't worry about that we'll fix that
  230. 11:12later then I need to remove this
  231. 11:15weight so again just select this and
  232. 11:18press on
  233. 11:24remove then same with this one because
  234. 11:26apparently it has a little bit of weight
  235. 11:28on this corner
  236. 11:30there so just have it selected and
  237. 11:33remove and then same with the next one
  238. 11:36so select everything
  239. 11:40remove and then just go down the karchy
  240. 12:11and now moving to the front right
  241. 12:16here again this one we just want to
  242. 12:19remove and go to the next
  243. 12:21bone and again this one is a bit more
  244. 12:24tricky and that is because we want to
  245. 12:27remove this top section but once we
  246. 12:29remove it it's going to immediately
  247. 12:32transition to Red weight so this bone
  248. 12:34whenever it's going to be physics
  249. 12:35simulated is going to go from zero
  250. 12:38influence to 100 and this is going to
  251. 12:41cause weird deformations so the first
  252. 12:44thing you want to do is select around5
  253. 12:47on the
  254. 12:48weight and just weight painted like so
  255. 13:01and this bone I need to go to the solid
  256. 13:04view starts from right here and if it
  257. 13:06starts from right here we just want to
  258. 13:08select everything above it or an easier
  259. 13:11way would be to select
  260. 13:13everything go to the wire frame View and
  261. 13:17then deselect the part that you want to
  262. 13:19be moving
  263. 13:42try to select
  264. 13:45this and while having everything
  265. 13:47selected except this part we just want
  266. 13:50to press on the remove button so now if
  267. 13:52I go to the weight paint it's going to
  268. 13:55be adjusted
  269. 13:56properly and then it's kind of the same
  270. 13:58with these two bones you can see how
  271. 14:00they are basically going to the red part
  272. 14:03immediately and we kind of just want to
  273. 14:05keep it at
  274. 14:13Green and same with the Deep right
  275. 14:20here and now we just do the same for the
  276. 14:22other Str right here
  277. 14:50this one is a bit awkward but they
  278. 14:51should be fine
  279. 15:16okay and now for the last thing with
  280. 15:18weight painting because something like
  281. 15:19this just happened to me a lot of times
  282. 15:22and is because of the automatic WS so
  283. 15:25like I said previously for example these
  284. 15:27bones right here we don't want them to
  285. 15:29have influence over this area and
  286. 15:32sometimes even if you can't see any
  287. 15:33weight if I put it on like a really low
  288. 15:36number and paint it is still going to be
  289. 15:39there and yeah we don't really want that
  290. 15:41to happen so what I need to do right now
  291. 15:44is for all of these BS in the middle I
  292. 15:47want to select these part that aren't
  293. 15:48supposed to have any weight and just
  294. 15:50remove them and sometimes not even have
  295. 15:53to do this process but I would rather be
  296. 15:55safe
  297. 16:16so I just need to remove this for the
  298. 16:18groups from 02 to
  299. 16:2305 then the same goes for these sides
  300. 16:25right here you can see that they have
  301. 16:27weight on this area
  302. 16:29and this one is from 07 to
  303. 16:37010 and same for the other
  304. 16:45side so 12 to
  305. 16:4915 and the rest had everything removed
  306. 16:52so this should be everything for the
  307. 16:54weight paint and now let's get to
  308. 16:56actually exporting the model so need to
  309. 16:58select them go to file export and then
  310. 17:01fbx I'm going to name this one smart Bon
  311. 17:04ha and in the export settings you want
  312. 17:06to select selected objects change this
  313. 17:08SK to like
  314. 17:090.05 then Z2 forward and want to apply
  315. 17:13transforms in the geometry if you had
  316. 17:16any other hair you want to apply the
  317. 17:18modifiers on this one you don't really
  318. 17:20have anything and then in the Armature
  319. 17:22you want to select only de bones and
  320. 17:24don't add leavea bones and we don't have
  321. 17:26any animation so I can deselect this
  322. 17:27option then we can just press on export
  323. 17:31fbx and now we need to import the hair
  324. 17:34into Roblox studio so you select import
  325. 17:363D and then this is going to pop up
  326. 17:38after selecting the fight you need to
  327. 17:40make sure you have the hair and the
  328. 17:43Armature because if you don't have the
  329. 17:45Armature that means you either didn't
  330. 17:46apply it correctly or mess something up
  331. 17:48while exporting but then I don't need to
  332. 17:50upload this to Roblox so I can just
  333. 17:52press on import and I'm going to have
  334. 17:55the hair right here so let me just
  335. 17:57duplicate this dummy and let's give this
  336. 18:00guy a
  337. 18:03wig so it's going to have the hair like
  338. 18:05this now I'm going to put the hair model
  339. 18:07into the starter character then remove
  340. 18:09the initial poses and the animation
  341. 18:12controller and really quickly I'm going
  342. 18:14to weld the hair to the Head the part
  343. 18:16zero is going to be the hair and part
  344. 18:18one is going to be the head and you will
  345. 18:21see this connection appear then just
  346. 18:22disable the Collision on the hair and
  347. 18:25I'm fly going to show you how to set up
  348. 18:27the smart bone module so I'm going to
  349. 18:29leave links to everything in the
  350. 18:30description but once you are on the
  351. 18:32smart bone to death Forum post you want
  352. 18:35to press on the
  353. 18:37releases this will take you to the
  354. 18:39GitHub page when you will have these
  355. 18:41assets from the assets you can either
  356. 18:43download the demo play which is this
  357. 18:45place right here but I'm using an older
  358. 18:47version or you can download the smart
  359. 18:49bone 2 model and after you download it
  360. 18:52you want to right click on the
  361. 18:54replicated storage and press on insert
  362. 18:57from file then I'm going to select the
  363. 18:59Roblox model file and I'm going to have
  364. 19:02the smart bone module right here and
  365. 19:04then there is the script in the starter
  366. 19:05player this is the initialized script
  367. 19:08for the smart bone to run so you require
  368. 19:11the smart bone module and use the start
  369. 19:13method and that's it for the module
  370. 19:16itself but right now we need to apply
  371. 19:18the smart bone to this hair and the
  372. 19:20first thing we need to do is go to the
  373. 19:22tags in the properties you can also go
  374. 19:25to view and then tag editor and then
  375. 19:27from the tag editor you want to select
  376. 19:29the smart bone tag while having the mesh
  377. 19:31part selected like this you can see that
  378. 19:34it popped up right here in the
  379. 19:35properties but you can also just press
  380. 19:37on the plus icon and then just select
  381. 19:38smart bone and then down in the
  382. 19:41attributes we need to add an attribute
  383. 19:43called
  384. 19:45roots and it needs to be a string
  385. 19:48attribute and then after that we want to
  386. 19:51put in the name of every root bone we
  387. 19:53have in our case it chose this one which
  388. 19:56is going to be bone
  389. 19:59and that should be all for the smart
  390. 20:00bone to run so I'm going to put this
  391. 20:02starter character in the starter player
  392. 20:04and press on play and we have her
  393. 20:08physics but there is also a few
  394. 20:10different things that we need to do
  395. 20:11because you can see that it's kind of
  396. 20:12jiggly and this isn't properly behaving
  397. 20:14like
  398. 20:15ha and that's because we need to adjust
  399. 20:18settings and you have the documentation
  400. 20:20on the de Forum post right here too that
  401. 20:23after you open you need to go to the
  402. 20:24smart bone and scroll down to the
  403. 20:27attributes you have all of these
  404. 20:29different settings that you need to put
  405. 20:31in as attributes and you also need to
  406. 20:33make sure that they are the proper type
  407. 20:35for for example The Dumping if you
  408. 20:37wanted to change the dumping setting you
  409. 20:39would press on the Plus on the
  410. 20:41attributes and type in
  411. 20:45dumping and then just select a
  412. 20:47number and press on Save but a really
  413. 20:50neat thing that I have is the smart bone
  414. 20:53editor plugin that's going to adjust
  415. 20:56these settings manually you already put
  416. 20:58every single setting from the default
  417. 21:01preset but what I want to apply is this
  418. 21:04preset that I've made I just save this
  419. 21:06from this hair right here and I want to
  420. 21:08press on apply it's going to change all
  421. 21:11of these different settings and now a
  422. 21:13really important setting is the uncore
  423. 21:15dep the uncore depth determines how far
  424. 21:18down the karchy from the root bone the
  425. 21:20bones aren going to be physics simulated
  426. 21:23here in blender it was one because we
  427. 21:25don't want these bones to move but if
  428. 21:27for example it was two
  429. 21:29this one wouldn't move as well as this
  430. 21:31one wouldn't move also so we want to
  431. 21:33leave it at one then I can close the
  432. 21:36smart bone editor and just present how
  433. 21:39this hair is going to look with these
  434. 21:41curent
  435. 21:44settings it's going to behave more like
  436. 21:46an actual hair right
  437. 21:48now and this cylinder right here is a
  438. 21:50smart bone collider that if I jump on
  439. 21:53the hair is going to collide
  440. 21:57on there is also some different stuff
  441. 21:59going on with this Str of ha right here
  442. 22:01and that's because our head is set as a
  443. 22:03collider and it's kind of just getting
  444. 22:06stuck but at least it's not as broken as
  445. 22:08this one what I could for example also
  446. 22:12do is select all of these
  447. 22:15bones except these ones because these
  448. 22:17ones aren't going to be moving so I move
  449. 22:20the root bone and with the smartone edor
  450. 22:23plugin I could change their radius to be
  451. 22:26maybe on like 05 okay and this one
  452. 22:28doesn't want to change so I'm going to
  453. 22:30change it manually from the attributes
  454. 22:33and I'm going to just do a presentation
  455. 22:36also so yeah now it's a bit different
  456. 22:39but you can see that it's kind of still
  457. 22:41Cluny but overall the hair is working
  458. 22:43properly except just these side strains
  459. 22:45of hair and I also wanted to show
  460. 22:48because in my opinion you shouldn't be
  461. 22:50using smart bone 2 yet that's because
  462. 22:52this version is still kind of not ready
  463. 22:54for release it's in version 0.3 and
  464. 22:57there might be different bugs as well
  465. 22:58the skull module being kind of unstable
  466. 23:00at times for example with this hair you
  467. 23:02can see that it has basically the same
  468. 23:04attributes nothing really changed the
  469. 23:06karchy is also similar but yeah in my
  470. 23:09opinion you should be using smart bone
  471. 23:11one until the smart bone 2 version is
  472. 23:13ready and now I've put smart bone one
  473. 23:15into the replicated storage but you can
  474. 23:17see how it's going to be backwards
  475. 23:18compatible with the
  476. 23:20hair except a bad thing is that it's not
  477. 23:22going to really have any
  478. 23:26collisions but you can see how the hair
  479. 23:28is basically rigged and it's behaving
  480. 23:30like
  481. 23:34hair so yeah I made videos on both smart
  482. 23:37bone one and smart bone 2 so you can go
  483. 23:39and watch those but that's going to be
  484. 23:42basically everything for today so if you
  485. 23:43found this informative them pleas if a
  486. 23:45like it would really support my channel
  487. 23:47and if you want you can also become a
  488. 23:48channel member but yeah I hope you guys
  489. 23:50had a nice day and yeah

About this transcript

This page contains the full transcript of Dynamic Hair Physics! | Roblox SmartBone 2 by Paul1Rb, generated from the public captions YouTube serves with the video. The transcript has 3,482 words across 489 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.