Reputation: 1
I'm working on a game. How do I get the player to move on the cyan block?
I didn't know if it's broken in the actual game so I fired it up in a test world.
https://streamable.com/ifaatg is me playing around with it
Upvotes: 0
Views: 599
Reputation: 28950
You can do this by manipulating the Humanoid using CFrames.
Get the Humanoids Rootpart
HumanoidRootPart, which is the root driving part of the Humanoid, that controls a humanoid’s movement through the game world.
The RootPart is the RootPart of the Humanoid Model's assembly. As such, if a developer wishes to move the Humanoid they should do so via the RootPart
Just find out how people implement trains, cars and such.
You basically get the position of the block and update the Humanoids position each frame.
Upvotes: 1