Elasticity (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
No edit summary
>NXTBoy
Fixed
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{CatUp|Properties}}
{{CatUp|Properties}}


{{Property|
<onlyinclude>{{Property
name = Elasticity
|name       = Elasticity
|property = [[Float]] ''Elasticity''
|property   = [[Number]] ''Elasticity''
|description = Sets how much the object will rebound against another. a value of 1 is like a superball, and 0 is like a lead block.
|description = Sets how much the object will rebound against another. a value of 1 is like a superball, and 0 is like a lead block.
|object = [[RBX.Lua.FlagStand (Object)|Flagstand]], [[RBX.Lua.Part (Object)|Part]], [[RBX.Lua.Seat (Object)|Seat]], [[RBX.Lua.SpawnLocation (Object)|SpawnLocation]]
|object     = BasePart
|}}
}}</onlyinclude>
 
{{clear floats}}
 
Elasticity is how 'rubbery' an object is. An object with a high Elasticity of 1 will be very bouncy, like a bouncy ball. An object with an elasticity of 0 will not bounce very much at all.
 
Note that Elasticity depends on both objects being collided. If one object is set to 0 and the second object is set to 1, there will still be bounce. Both objects must be set to 0 for minimal bouncing, or both set to 1 for maximum bounce madness.


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

Latest revision as of 16:34, 24 December 2010

Elasticity
Property Number Elasticity
Description Sets how much the object will rebound against another. a value of 1 is like a superball, and 0 is like a lead block.
Member of BasePart


Elasticity is how 'rubbery' an object is. An object with a high Elasticity of 1 will be very bouncy, like a bouncy ball. An object with an elasticity of 0 will not bounce very much at all.

Note that Elasticity depends on both objects being collided. If one object is set to 0 and the second object is set to 1, there will still be bounce. Both objects must be set to 0 for minimal bouncing, or both set to 1 for maximum bounce madness.