Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Did Friction property dissapear ?

Asked by 8 years ago

Is Friction property of parts available ? I don't see it in the Properties section, and is it accesible via script?

0
Yeah, it should be in the properties menu. If not then you should be able to change the friction of a part by doing --part.friction = .01-- But I would suggest checking again :P User#11440 120 — 8y
0
I swear that I don't see a friction property lol. http://prntscr.com/a4hfhk iDarkGames 483 — 8y
0
And when I try to do the property in a script it doesn't apply the Friction property, it doesn't slide up. iDarkGames 483 — 8y
0
Lol, I know it used to be there xD if they changed it that would be weird. Try checking the box that says custom physics or whatever. Maybe that will show it up. User#11440 120 — 8y
View all comments (2 more)
2
Yes, you need to set CustomPhysicalProperties to true for it to appear. Not entirely sure about accessing it from a script though. IDidMakeThat 1135 — 8y
0
The old friction property has been deprecated. XAXA 1569 — 8y

2 answers

Log in to vote
0
Answered by 8 years ago

Thanks to the new PhysicalProperties feature, the extended use of physics on ROBLOX is now possible for greater games! I believe you can turn it on for default in the Workspace, although I'm not so sure, but it is in properties and you can mess around with it. And yes, I believe that's possible and you can also edit it to fit your best needs and interests. Just confirming :)

Ad
Log in to vote
2
Answered by 8 years ago

As @IDidMakeThat says, it's not anymore called Friction, but it's still there along with all the others , but now it's combined in 1 property! And can be fully customized and modified in a script!

Taking as an example a Part.

game.Workspace.Part.CustomPhysicalProperties = PhysicalProperties.new(float density, float friction, float frictionWeight, float elasticityWeight)

You can find more usefull information in this link people!

http://wiki.roblox.com/index.php?title=API:PhysicalProperties

0
You're welcome. Don't mention it. User#11440 120 — 8y

Answer this question