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