I want to make a npc with animations that look like the animations in this video. I tried to use TweenService to animate Motor6Ds but I could not get it to look like the video. Does anyone know where I can look to get a good idea on where to get started or what to use? Thanks!
I K C O N T R O L
asdfaskdkfjaskldafjl people really need to knkow more abput ik conrol
If you’re too lazy to watch the video all you have to do it put an IK control inside a Humanoid that has an Animator, set the ChainRoot to Torso and EndEffector to Torso and Target to a Part of your choice and set the Type to LookAt you can probably get a similarly working NPC like thasdhtawetdscf
Video : Download 2025-08-29 19-51-38.mp4 | LimeWire
Weld the 2 legs to the main part using weld constraints and set the max force of the linear velocity to math.huge, theres no animation because I cant make good animations but for that you could just rig the model as a character and play a animation if the model is moving fast enought
here is the code:
local target = game.Workspace:WaitForChild("Target")
local Main = script.Parent
local LV = script.Parent.LinearVelocity
local speed = 20
local acceleration = 0.65
task.wait(1)
game["Run Service"].Heartbeat:Connect(function(dt)
local distBetween = (target.Position - Main.Position).Magnitude
if distBetween > 4 then
local constructedVector = Vector3.new(target.Position.X, math.clamp(target.Position.Y,4,math.huge), target.Position.Z)
Main.CFrame = CFrame.lookAt(Main.Position, constructedVector)
local velApply = ((constructedVector-Main.Position).Unit*speed - LV.VectorVelocity) * (acceleration * dt)
LV.VectorVelocity = LV.VectorVelocity + velApply
end
end)
looks promising, i’ll look into it, thanks