Hey Dev Forum,
The title says it all; I’ve got a train that’s rigged thanks to a plugin, and I’d like to move the HRP to the front of the train. (As if I don’t, the train moves Sideways)
How do I do this, as when I move it all of the train moves.
Thanks,
Sasial.
PS: Let me know if something needs explaining.
-
What is the plugin you used?
-
Does the train itself contain the HRP, or are you referring to another object entirely?
-
If it is the former, can you try renaming a part at the front of the train to
HumanoidRootPart
? -
You can also try editing the
Motor6Ds
under the HRP, like maybe copying this into the command-line, wherepath.to
is the path to the train’s HRP, though it will most likely mess up your train:
for _, motor in pairs(path.to.HumanoidRootPart:GetChildren()) do
if motor:IsA("Motor6D") then
motor.C0 = motor.C0 * CFrame.new(0,0,-10)
end
end
- Could you provide pictures or gifs of what is/should be happening?
- The train itself.
- I’ve tried moving it and then I added the motor6D’s back and it moved back to the middle.
- What do you mean?
- (Mind you the train will look ugly and the meshes have not been uploaded to this testing game…)
https://gyazo.com/72d4f8c67526643b3095b335afbb5887
Sorry about the short GIF, it does turn into a full 90O angle.
1 Like
Hoping for a response on this.
Is it possible to rotate a tween instead.
So the tween is done on 90 Degrees?
Tested number 4;
Messed the train up.
Could I get a repro file of the train to play around with?
Sure.
I’ll PM it to you.
(30 chars…)
1 Like