-
I am trying to figure out how to turn the players character from a humanoid shape to the dinosaur model I have which is just a mesh with a bunch of bones
-
Whenever I try to put it in as a starter player or morph the character into the dinosaur there is issues with the movement and or it could not move at all.
I have looked all over and cant find a solution that works for a custom rigged model like this and I am confused on where to start here.
I need to be able to have my own custom walking and running animations for the dinosaur too. If I need to create a custom character controller that is fine with my I just need to know how to turn the player into the actual rig
function DinoModule.MorphPlayer(dinoName: string)
local oldCharacter = player.Character or player.CharacterAdded:Wait()
local newCharacter = ReplicatedStorage.Dinos:FindFirstChild(dinoName):Clone()
newCharacter.HumanoidRootPart.Anchored = false
newCharacter.PrimaryPart.CFrame = oldCharacter.PrimaryPart.CFrame
player.Character = newCharacter
newCharacter.Parent = workspace
end
This is what I have currently and it just moves the player with the camera and causes all kinds of other issues