Friction (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>Camoy
moved to desc
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{CatUp|Properties}}
{{CatUp|Properties}}


{|
<onlyinclude>{{Property
|
|name       = Friction
<onlyinclude>
|property   = [[Number]] ''Friction''
{{Property|
name = 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.
|description = Sets how much friction the object has. A value of 1 is a no-slick grip, 0 is a waxy floor.
|object = [[RBX.lua.FlagStand (Object)|Flagstand]], [[RBX.lua.Part (Object)|Part]], [[RBX.lua.Seat (Object)|Seat]], [[RBX.lua.SpawnLocation (Object)|SpawnLocation]]
|object     = BasePart
|}}
}}</onlyinclude>
</onlyinclude>
 
|-
{{clear floats}}
|
 
==Description==
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.
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.
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.


[[Category:Properties]]
[[Category:Properties]]

Latest revision as of 14:30, 31 December 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 BasePart


Description

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.