Working on a custom NPC and the physics is a nightmare. Then I found that Roblox has an API for models that is similar to Humanoids MoveTo(). So is the Model:MoveTo() good performance-wise?
1 Like
Humanoid:MoveTo() makes the given character attempt to walk to a position. Model:MoveTo() sets the primary part’s position to the given position.
Model:MoveTo() is not a means of moving a character like you might think. Its purely for instantly changing a models position.
1 Like
But can you do Model:MoveTo() if the model does not have a primary part?
1 Like
Yes, but it’s not recommended
https://developer.roblox.com/en-us/api-reference/function/Model/MoveTo
1 Like
I knew i was bad at scripting, but I never knew I was this bad. What on earth is wrong with the script.
local BugattiVeyron = script.Parent.Cars.BugattiVeyron
wait(10)
BugattiVeyron:MoveTo(1,1,1)
We should move this to dms because this is reviving a dead topic