YouTube2Text

How I made all my Roblox sword animations with Opus 5.5 — Transcript

by YorusDevs · 1,117 words · 165 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Okay, today I'm going to show you how I
  2. 0:02got real sword animations into my Roblox
  3. 0:04game without animating a single frame
  4. 0:06because I can't animate and AI can't
  5. 0:09either, not yet. I asked it for a sword
  6. 0:11swing and got a folding chair falling
  7. 0:13down the stairs.
  8. 0:16So, there's two ways that actually work.
  9. 0:18One, take existing animations made for
  10. 0:20Unreal Engine and move them onto a
  11. 0:22Roblox body. Two, free motion capture.
  12. 0:26Film a real person and the computer
  13. 0:28copies the moves. Today, I'm doing both
  14. 0:31and both can be free so you can see them
  15. 0:33actually work and see everything that
  16. 0:36goes wrong.
  17. 0:37Here's what you need, an AI agent like
  18. 0:39Claude or Codex, Unreal Engine, Blender
  19. 0:42and Free Mocap and those three are all
  20. 0:44free and some existing sword animations.
  21. 0:47You can buy them or get them another
  22. 0:49way. There's free ones, too. So, besides
  23. 0:51your AI, this can cost you nothing. You
  24. 0:53don't need to know what a rig is. Every
  25. 0:55step comes with what to tell your AI in
  26. 0:57normal words. You just copy it.
  27. 1:00Step one, get the moves. Any existing
  28. 1:02animations work, bought or free. Fab is
  29. 1:05a good place to buy them and it has a
  30. 1:06free filter, too. Just check the license
  31. 1:08lets you use them outside Unreal. Then,
  32. 1:10add them to a project. Most of these are
  33. 1:12made for this guy, Unreal's mannequin,
  34. 1:1471 bones, every finger, every twist. A
  35. 1:18Roblox body has 15 parts, 15. It doesn't
  36. 1:22even have fingers.
  37. 1:24Step two, get the moves out of Unreal
  38. 1:26without clicking anything. Unreal can
  39. 1:29run a Python script with no window open.
  40. 1:31So, your AI writes one that goes through
  41. 1:33a clip and saves where every bone is on
  42. 1:35every frame and don't stress, you don't
  43. 1:38write that. You tell your AI, "Open my
  44. 1:40Unreal project with no window and export
  45. 1:43every bone of this clip frame by frame."
  46. 1:46Now, it's just numbers and numbers are
  47. 1:48something your AI can actually read.
  48. 1:51Step three, the hard part. 71 bones onto
  49. 1:5415 parts. The fingers and the twist
  50. 1:56bones, gone. The spine folds into two
  51. 1:59pieces. Every arm and leg copies where
  52. 2:01the real one points. But a Roblox body
  53. 2:04isn't shaped like a person. The arms are
  54. 2:06short and the torso is a brick. So if
  55. 2:09you just copy the angles, the hands miss
  56. 2:11the sword. So it works backwards. It
  57. 2:13puts the hand on the sword first and
  58. 2:15then bends the arm to reach it. You tell
  59. 2:18your AI, move this onto the Roblox R15
  60. 2:21body and keep both hands on the sword.
  61. 2:24And now he's stabbing himself a lot.
  62. 2:28A long sword on a short body goes
  63. 2:29straight through the torso. Over all my
  64. 2:31weapon types, that was 1,700 frames.
  65. 2:34>> [music]
  66. 2:35>> So it checks every single frame, blade
  67. 2:37against body. When they touch, it moves
  68. 2:39the hands and clears the blade. 1,700
  69. 2:43down to 67. I can live with 67.
  70. 2:46You tell your AI, check every frame and
  71. 2:49keep the blade out of the body.
  72. 2:51Last step, into the game. You tell your
  73. 2:53AI, turn these into game data and play
  74. 2:55them on my character. And here's the
  75. 2:57part I love. The sword is in the data,
  76. 2:59too, frame by frame. So the server
  77. 3:02swings the exact same blade you see. If
  78. 3:05it looks like it hit, it hit.
  79. 3:07Unreal on the left, Roblox on the right.
  80. 3:10Same moves, 15 parts.
  81. 3:15>> [music]
  82. 3:16>> Before we continue, subscribe and turn
  83. 3:17on notifications. More AI workflows for
  84. 3:19game dev are coming.
  85. 3:21>> [music]
  86. 3:21>> Now, what if the move you want doesn't
  87. 3:23exist? That's motion capture. And you
  88. 3:25don't need one of those suits with the
  89. 3:27little balls on it.
  90. 3:28>> Free MoCap is free and open source. It
  91. 3:31tracks your body from normal videos,
  92. 3:33webcams, GoPros, phones. One thing
  93. 3:36first, I don't own three cameras. So
  94. 3:38this guy is a random example video from
  95. 3:40Free MoCap's own GitHub. You can
  96. 3:42download it for free right here.
  97. 3:45Step one, install it. Go to
  98. 3:47freemocap.org,
  99. 3:49hit download, and run the installer. If
  100. 3:52Windows warns you, click more info then
  101. 3:54run anyway. Or just tell your AI,
  102. 3:57install Free MoCap for me.
  103. 3:59Step two, film it. Put two or three
  104. 4:01cameras around the same spot and print a
  105. 4:03checkerboard. Wave the board where every
  106. 4:05camera can see it. That's how the app
  107. 4:07works out where each camera is standing.
  108. 4:09One camera works, too, but you only get
  109. 4:12flat 2D because one camera can't see
  110. 4:14depth. Then step into the middle and do
  111. 4:16your moves.
  112. 4:18Like our example guy, real room, three
  113. 4:20cameras. And don't stress. You can just
  114. 4:23give your AI your videos and tell it,
  115. 4:25"Use free mocap to turn these into an
  116. 4:27animation." That's how I did this one.
  117. 4:29Here's what it does.
  118. 4:31Step three, into the app. Playback,
  119. 4:33import videos, one video per camera.
  120. 4:36Tell it your board size and hit
  121. 4:37calibrate. That took about 15 seconds.
  122. 4:40Step four, one setting really matters.
  123. 4:43Change the detector to mediapipe.
  124. 4:45Otherwise, it won't make you a Blender
  125. 4:47file. Hit process mocap. This short clip
  126. 4:50took 45 seconds on the CPU alone. No
  127. 4:53graphics card needed. And there he is.
  128. 4:56Every joint tracked in all three
  129. 4:58cameras. And it hands you a Blender file
  130. 5:00with a moving skeleton. Plus FBX and BVH
  131. 5:04if you need those.
  132. 5:05Last step, Roblox. You tell your AI,
  133. 5:08"Take this capture and put it on a
  134. 5:10Roblox R15 body."
  135. 5:12This time, there's no bones to copy,
  136. 5:14just dots. So it aims every part at the
  137. 5:17dots. Shoulder to elbow, elbow to wrist,
  138. 5:20hip to knee. From a guy in a room to
  139. 5:23this.
  140. 5:24>> [music]
  141. 5:32>> Now, [music] what it gets wrong. First,
  142. 5:34straight arms. When your arm is
  143. 5:36straight, the dots can't say which way
  144. 5:38it's twisted. So it keeps the last good
  145. 5:40bend. Second, it's body only. Mocap has
  146. 5:44no idea you're holding a sword. That's a
  147. 5:46separate step. Third, it doesn't know
  148. 5:48where the floor is. So on every frame,
  149. 5:51it puts the lowest foot back on the
  150. 5:53ground. And it's only as good as your
  151. 5:55video. This one's six frames a second.
  152. 5:57Fast moves need a lot more.
  153. 6:00So use existing animations when you can,
  154. 6:02and can the moves nobody has.
  155. 6:05So that's the whole workflow. Get the
  156. 6:07moves, export them, move them onto the
  157. 6:08body, and clean them up. And both ways
  158. 6:10can be free. If you make something with
  159. 6:12this, show me in my Discord. The link's
  160. 6:14in the description. Next video, music.
  161. 6:17How I make my game songs for free on my
  162. 6:19own PC.
  163. 6:20See you in the next one.
  164. 6:22>> [music]
  165. 6:32[music]

About this transcript

This page contains the full transcript of How I made all my Roblox sword animations with Opus 5.5 by YorusDevs, generated from the public captions YouTube serves with the video. The transcript has 1,117 words across 165 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 choose a caption track available on the video.

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, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.