--[[
    Create a ClientAvatarComponent for the given model
]]

function ClientAvatarComponent.new(model, userId)
	local component = {
		model = model
	}
	setmetatable(component, {__index = ClientAvatarComponent})

	local avatar = model:FindFirstChild(ReplicatedConstants.AVATAR_MODEL_NAME)
	component.avatar = avatar

	component:setupJoints()

	return component
end
