I made a seesaw with grounding, but the character doesn’t slide.
So if the character is on top, I want it to slide and fall according to the angle of the seesaw.
And after a certain period of time, the seesaw also tries to return to its original angle.
I am a user of Google Translate. Can you tell me the search keywords?
If I do a search, it is already completed or a play video is exposed. (No production process)
Thank you for giving me information that I didn’t know about the Internet video course.
As for the “MaxSlopeAngle” you mentioned, the player can’t resist slipping at all, so I guess we’ll have to find another way.
However, I think the information you provided will be a good reference for making games in the future. thank you!
※ Review: I leave the location of “MaxSlopeAngle” for people like me who don’t appear in the video or can’t be interpreted.
※ Location: Explorer > Select “StarterPlayer” > Search for “MaxSlopeAngle” in the property value.
When a player touches the part you can set the max slope distance to the desired angle at which you want the player to slip, I don’t know how to make the player not resist slipping.
And when the player stops touching the part you can set the max slope distance back to the default which I believe is 89
Hey, I think I found the solution. Its not perfect, but I think it works. This doesn’t use max slope angle. It uses something called, “AssemblyLinearVelocity”.
--// Make sure to check which way this part is rotating either on the Z axis or the X axis
while wait() do
local part = script.Parent
local partOrientationX = part.Orientation.X --//If part rotates on the X axis use this -- Dont use both
local partOrientationZ = part.Orientation.Z --// if part rotates on the Z axis use this -- Dont use both
local reversedX = partOrientationX * -1
local reversedZ = partOrientationZ * -1
part.AssemblyLinearVelocity = Vector3.new(reversedZ, 0, 0) --// Dont use both
--part.AssemblyLinearVelocity.Z = Vector3.new(0, 0, ReversedX) --// Dont use both
end
Here is it in action. And I didn’t show me resisting the slippery effect, however, it is possible, go ahead and try it out for yourself and tell me what you think.