I have a vehicle, (Which is a model) and I want to move the entire vehicle while a person is sitting in it, While keeping them in the seat.
COMMUNITY QUESTION
How can I teleport a vehicle seat while a person is in, and keep them in it?
1 answer
What you want to do is in studio choose a part in model as primary part
Then use one of model api functions :MoveTo()
local myCar = game.Workspace.MyCar --just an example
maCar:MoveTo(Vector3.new(0,0,0)) --moves to the center of the map
--You can also use the cframe one
maCar:SetPrimaryPartCFrame(CFrame.new(0,0,0))
Remember to 1.Set car model primary part.
Read more about primary part->http://wiki.roblox.com/index.php?title=API:Class/Model/PrimaryPart
and model api-> http://wiki.roblox.com/index.php?title=API:Class/Model
This discussion is preserved as it was. New answers, comments, and votes are closed.
