I have a script which clones vehicle models from ServerStorage and puts them in factory's around the map. The only problem is that I have been using MoveTo: to re position the vehicles, and in one factory they spawn on the roof (probably because of an invisible and CanCollide false part or something) I thought the solution would be simple:
Vehicle.PrimaryPart.CFrame = FactoryBase.CFrame + Vector3.new(0,10,0)
I also thought always having the right rotation would be nice too. However, only the body of the vehicle teleports to this position, not the wheels, (which are attached via spring constraints and prismatic constraints.) This results in the car and the wheels flying towards each other and sometimes glitching out or sandwiching walls and other vehicles. I think the fact that the wheels aren't welded to the car could be the reason that they do not move with the vehicle. Is there a form of MoveTo: that ignores other parts or a way to get CFrame to move all the Vehicle's parts? If so I really need to know.
Thanks

1 comment
v v v poke