Тёмный
No video :(

(EASY AF 2023) How to make player move with platform Roblox Studio Tutorial 

og ward
Подписаться 22
Просмотров 5 тыс.
50% 1

This video is a very simple explanation on how to use alignPosition and alignOrientation to move a platform and your player simultaneously. Some guy told me to make this so I did. Be a homie, check out my game - RoWho?

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 49   
@kiba1704
@kiba1704 Год назад
Exactly what I needed. I will bookmark this, thank you very much!
@KKGaming280
@KKGaming280 11 дней назад
How do I do it with a spinning brick??
@TheOnlyChunti
@TheOnlyChunti 13 дней назад
its not working when anchored
@bloxfrui8562
@bloxfrui8562 10 месяцев назад
am i the only one who can't hear a single thing this guy says
@RaphaEditz
@RaphaEditz 8 месяцев назад
yes
@Brian80973
@Brian80973 Месяц назад
Bro yes you can
@LukeGaming-fw1sp
@LukeGaming-fw1sp 19 дней назад
no
@CatToHugeMythic
@CatToHugeMythic 7 месяцев назад
Thank you so much!
@Rixxles.
@Rixxles. 11 месяцев назад
the platform just falls
@ogward1851
@ogward1851 Год назад
PS: You can rotate the end piece and the platform will rotate while moving aswell. Want multiple rotations? Use multiple destinations/parts for attachment1 to be parented to.
@DeathHela
@DeathHela 9 месяцев назад
hello! could u do a video on this? cuz i’m trying to make like a moving train for my game. Also is there a way to just make the avatar stick to the part without the moving script? cuz i animated my train instead of using script to move it
@ogward1851
@ogward1851 9 месяцев назад
@@DeathHela haha okay so if you don't want to scrap the animation, then try this guys tutorial. It's a lot more complicated though as it uses renderstepped and a lot of math so good luck :) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-z7fnxbnNyC8.htmlsi=NqBWnIvhQwnHTuqu
@DeathHela
@DeathHela 9 месяцев назад
@@ogward1851 oh goshhhh 😂 i’m really bad at scripts ahahah by any chance r u able to do a commission for me for this train thing 😅
@ogward1851
@ogward1851 9 месяцев назад
​@@DeathHela no need. Try putting a server script in the floor part of your train and paste this into it: local RS = game:GetService("RunService") local part = script.Parent local lastPos = part.Position RS.Stepped:Connect(function(num, deltaTime) local currentPos = part.Position local deltaPos = currentPos - lastPos local velocity = deltaPos - deltaTime part.AssemblyLinearVelocity = velocity lastPos = currentPos end) --drop a sub if this worked
@DeathHela
@DeathHela 9 месяцев назад
@@ogward1851 omg thanks! i’ll try it when i get back home!! n my bad i forgot to sub haha 😅
@lukazzz_
@lukazzz_ 9 месяцев назад
Hello! My script isnt work ---------------------------------------------- local platfrom = script.Parent local attachment1 = game.Workspace:WaitForChild("MovingPlatform"):WaitForChild("start"):WaitForChild("Attachment1") while true do wait(3) attachment1.Parent = game.Workspace:WaitForChild("MovingPlatform"):WaitForChild("endz") wait(3) attachment1.Parent = game.Workspace:WaitForChild("MovingPlatform"):WaitForChild("start") end
@panda_____-lo7bu
@panda_____-lo7bu 6 месяцев назад
attachment1.Parent = game.Workspace:WaitForChild("MovingPlatform"):WaitForChild("endz")
@flare3854
@flare3854 7 месяцев назад
My character keeps falling off the platform and it's going slow
@ogward1851
@ogward1851 7 месяцев назад
if you're having trouble with this one go to my latest tut
@juicejosh1520
@juicejosh1520 Год назад
It doesn't bring my character with it
@ogward1851
@ogward1851 Год назад
maybe you made it too fast, did you follow the tutorial exactly?
@juicejosh1520
@juicejosh1520 Год назад
@@ogward1851 I'm pretty sure I did. This is the script I have: local CoolCloud = script.Parent local attachment1 = game.Workspace:WaitForChild("MovingCloud"):WaitForChild("CoolCloud Start"):WaitForChild("Attachment1") while true do wait(3) attachment1.Parent = game.Workspace:WaitForChild("MovingCloud"):WaitForChild("CoolCloud End") wait(3) attachment1.Parent = game.Workspace:WaitForChild("MovingCloud"):WaitForChild("CoolCloud Start") end
@ogward1851
@ogward1851 Год назад
@@juicejosh1520 okay, your script looks fine, here's a checklist i want you to check, if you're still having problems im very sorry im this late i genuinely would like to help you so here; 1. Make sure attachment0 is in the platform that's moving 2. Make sure the attachment0 and attachment1 properties are equal to the correct attachments in both alignposition and alignorientation 3. AlignOrientation has rigidity enabled 4. AlignPosition has apply at center mass enabled 5. Make sure it isnt a local script 6. Maybe its a problem with the platforms' physical properties 7. attachment1 is inside the start platform when before the game starts 8. Make sure 3 and 4 are the only properties enabled besides like behavior enabled and archivable enabled i guess sorry if this didn't help, I did go back and made sure that it wasn't patched, so I don't know what the deal with yours is :(
@juicejosh1520
@juicejosh1520 Год назад
@@ogward1851 I figured out something. When the platform is narrow (3x11), it doesn't bring it but when the platform in wide (11x11) , it does bring me
@ogward1851
@ogward1851 Год назад
@@juicejosh1520 im glad you got it figured out.
@ADAMOR_52
@ADAMOR_52 Год назад
the part will get stuck if there are any other objects in the way, is there any easy solution? you could make the parts that are in the way just make not collide with the platform but that would take some time and isn´t that easy
@ogward1851
@ogward1851 Год назад
Yeah collision groups are kinda hard but thats the only way i can rlly think of
@ogward1851
@ogward1851 9 месяцев назад
im reading the comments again and you could add another invisible part that goes around the part that gets in the way and move the platform (put the attachment in a script) to that extra invisible part before going to the end part
@ganesh7153
@ganesh7153 5 месяцев назад
@@ogward1851 bro i think i did something wrong i checked everything and everything is fine but its not working
@BooogiedownGaming
@BooogiedownGaming 5 месяцев назад
Its only going to the start and not to the end
@TheOnlyChunti
@TheOnlyChunti 13 дней назад
same cuz its not anchored
@arty.mp4
@arty.mp4 9 месяцев назад
I got mine working but how do I change the speed?
@ogward1851
@ogward1851 9 месяцев назад
did u watch till the end
@arty.mp4
@arty.mp4 9 месяцев назад
nope. just did lol@@ogward1851
@daissyplayz
@daissyplayz 10 месяцев назад
Is there a way to move union, i have been trying different tutorials non help
@ogward1851
@ogward1851 10 месяцев назад
union.Position... union.CFrame...
@daissyplayz
@daissyplayz 10 месяцев назад
@@ogward1851huh, didnt see you use postion of unit and CFrame in this tutorial..., sorry i am dumb with scripts
@ogward1851
@ogward1851 10 месяцев назад
@@daissyplayz i didnt but unless im mistaken you can also just use a union instead of a part using this tutorial
@ogward1851
@ogward1851 10 месяцев назад
@@daissyplayz unless you mean a model cause i could maybe make a vid on how to do that
@daissyplayz
@daissyplayz 10 месяцев назад
@@ogward1851i have tried it on standard roblox barrel, it is a union and moving tutorials work on it, but allowing player to move with it no, idk why
Далее
Pro VS Impossible Obby
20:30
Просмотров 1,6 млн
Making Good UI is EASY, People Are Just Lazy
17:29
Просмотров 27 тыс.
HOW DID SHE DECIDE TO DO THIS?!
00:27
Просмотров 7 млн
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
Avaz Oxun - 10 yillik yubiley konsert dasturi 2023
2:52:33
How to Make a UGC Top Hat for Roblox - Beginners
8:04
How to Make A Global Leaderboard in Roblox Studio
22:26
How to PATHFIND in Roblox 2024 using Forbidden
6:30
Просмотров 19 тыс.
How To MAKE a Moving Platform in Roblox!
18:45
Просмотров 3,4 тыс.
How to make a basic checkpoint system in Roblox Studio
18:11
How To Make A Combat System In Roblox Studio [TUTORIAL]
19:05
HOW TO MAKE A MAIN MENU 🛠️ Roblox Studio Tutorial
16:26