Moving Model: Is it Possible?

**Hello Developers!**I am making a new game thst is an RP gsme based in Australia. We would like to have a “wild” area and have kangaroos that bounce and kick. However the only way I can think of this is by a model. Is it possible to animate the model or at least part of the model?

I: What I’m trying to achieve

I want to know if it is possible to make an animated Model.

II: What I’ve tried

I’ve been through the dev forum and nothing matches my request.

If anyone can contribute by giving an example or some reference APIs or links that would be really appreciated. Thank You

Model:PivotTo(CFrame) is probably what you are looking for :+1:

or for Tweening (Untested, but you get the idea, hopefully):

--// Setup: Past this in CommandBar or in script.
local TweenService = game:GetService('TweenService');

local Model, Primary = YOURMODEL, Instance.new('Part') 

Primary.Size = Model:GetExtentsSize(); 
Primary.CFrame = Model:GetBoundingBox();
Primary.Name, Primary.Transparency, Primary.Parent = 'PrimaryPart', 1, Model;

for Index, PartInstance in next, Model:GetChildren() do
local WeldInstance = Instance.new('WeldConstraint', PartInstance)
WeldInstance.Part0, WeldInstance.Part1, WeldInstance.Parent = Primary, PartInstance, PartInstance
task.wait();
end;
--// Actual Code:
TweenService:Create(Primary, TweenInfo.new(1), {CFrame = YOURCFRAME}):Play();
2 Likes

Thanks is c frame my animation?

Your CFrame is the end point, wait you want to animate a model, like for example make your ‘Kangaroo’ jump? or make a model ‘SLIDE’ somewhere?