How would I convert this into the .OBJ format?

Im creating a game which loads characters from triangles, but the problem is that im using this code:

HttpService:JSONDecode(HttpService:GetAsync("http://www.roproxy.com/avatar-thumbnail-3d/json?userId="..userID)).Url

but I dont know how to convert it into an OBJ, how would I convert it into an OBJ?

https://developer.roblox.com/en-us/api-reference/function/Players/CreateHumanoidModelFromUserId

local model = game.Players:CreateHumanoidModelFromUserId(userID)
model:PivotTo(cFrame)
model.Parent = workspace

Instead of using APIs, I prefer you to use HumanoidDescription.

local playerId = 00000
local description = game.Players:GetHumanoidDescriptionFromUserId(playerId)

game.Players.PlayerAdded:Connect(function(player)
    local char = player.CharacterAdded:Wait()
    local humanoid = char:WaitForChild("Humanoid")
    humanoid:ApplyDescription(description)
end)

I don’t think theres any way to convert the code into an OBJ within studio using APIs.

1 Like

There was a API which could let you convert it into an OBJ, but now it doesnt work.

Looks like this api got removed, but you still can use HumanoidDescription I’ve given an example above.