#How do I make a spinner that changes the player's rotation too?
69 messages · Page 1 of 1 (latest)
do you have any existing code or whatever??? anyway here is the code how to spin a player just put it into the same function so it both triggers ykyk
Character.HumanoidRootPart.CFrame *= CFrame.Angles(0, 0, math.rad(180))
I deleted it because it flung me everywhere
wdym it flung u
oh gosh can u send the script ?
ill see if i can recreate
script.Parent.Touched:Connect(function(part)
part.Parent.HumanoidRootPart.Orientation = script.Parent.Orientation
end)
okay now the part u are using is probably on the floor right ?
try putting it a little bit in the air cause im assuming that it flings you because it puts the player kinda in the floor and then glitches them away since the legs prob get stuck or sum
its an assumption tho
Roblox has contraints for that
just use hinge constraint
on the part
the player will spin with it
just simply use this line i dont get it ???
part.Parent.HumanoidRootPart.CFrame *= CFrame.Angles(0, 0, math.rad(180))```
this should work veryyy fine
he's talking about those part things
that spins
and when u step on it
you spin with it y know?
you can find it on most obbies
ohhh where it moves like 1° every .1 second
exactly (i mean the msg above i replied to the wrong one)
so like a spinner that rotates, but also rotates the character with the spinner if that makes any sense at all
character gets glitched for me @fathom island
make 2 parts
1 will be the base of the spinner
and the other will be the spinner itself
ok i got that
go to model tab in studio
make a hinge constraint
with both of the parts
then change the constraint type to motor
what-
wait i have a hinge constraint
alr
in both of the parts
here
o
🤩 Thank you for watching!🤩
▶️ Join my Roblox group (BROX): https://web.roblox.com/groups/4724750...
▶️ Join my NEW Roblox group (Orange Games Studio): https://web.roblox.com/groups/6044321...
▶️ My Roblox Username: Mahmoud_Mah
▶️ Play Roblox Here: https://web.roblox.com
▶️ My Twitter Account: https://twitter.com/Mahmoud26219167
▶️ My Soci...
wait but only on touch ??? so if the player walks on it he should spin with it but if he walks off then he doesnt do it anymore?
ima watch it
but @hot nimbus does that spin the player too like he wants them to move in sync
@hot nimbus i want my spinner to be anchored but it says to not to
the spinning part wont be anchored
but
the base will
singe theres a hinge constraint keeping them together
it wont fall or anything
as long as the base is anchored
my spinning part collides with literally everything so wont it go on top of everything
wdym
you can use collision groups
or collision constraints
to make the spinner not collide with things u dont want to collide with
mine isnt exactly centered is that a problem
dont think so
yeah it was