Friction (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>Mr Doom Bringer
No edit summary
Line 10: Line 10:
|object = [[RBX.lua.FlagStand (Object)|Flagstand]], [[RBX.lua.Part (Object)|Part]], [[RBX.lua.Seat (Object)|Seat]], [[RBX.lua.SpawnLocation (Object)|SpawnLocation]]
|object = [[RBX.lua.FlagStand (Object)|Flagstand]], [[RBX.lua.Part (Object)|Part]], [[RBX.lua.Seat (Object)|Seat]], [[RBX.lua.SpawnLocation (Object)|SpawnLocation]]
|}}
|}}
<onlyinclude>
</onlyinclude>
|-
|-
|
|

Revision as of 23:34, 13 May 2010

Friction
Property Number Friction
Description Sets how much friction the object has. A value of 1 is a no-slick grip, 0 is a waxy floor.
Member of [[RBX.lua.Flagstand, Part, Seat, SpawnLocation (Object)|Flagstand, Part, Seat, SpawnLocation]]

Friction is how hard it is for an object to slide on another object. The higher the setting the harder it is for the objects to slide. Setting it to 1 makes the objects slow down really fast when they slide, setting it to 0 makes them skate along like an ice rink.


Note that Friction depends on both objects that are touching. If one is set to 0 and the second is set to 1, the sliding object will slow down over time. You must set them both to 0 for a no-friction ice rink, or both to 1 for a quick stop sandpaper surface.