Elasticity (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
mNo edit summary
>Mr Doom Bringer
No edit summary
Line 1: Line 1:
{{CatUp|Properties}}
{{CatUp|Properties}}
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.


{{Property|
{{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 = [[RBX.lua.FlagStand (Object)|Flagstand]], [[RBX.lua.Part (Object)|Part]], [[RBX.lua.Seat (Object)|Seat]], [[RBX.lua.SpawnLocation (Object)|SpawnLocation]]

Revision as of 21:16, 23 March 2010

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.

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 [[RBX.lua.Flagstand, Part, Seat, SpawnLocation (Object)|Flagstand, Part, Seat, SpawnLocation]]