Editing Stage Builder
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 269: | Line 269: | ||
Each material has various physics attributes affecting how it interacts with other objects with gravity enabled. The attributes only affect the terrain's interaction with objects, not fighters. In the following table, the physics attributes are defined as: | Each material has various physics attributes affecting how it interacts with other objects with gravity enabled. The attributes only affect the terrain's interaction with objects, not fighters. In the following table, the physics attributes are defined as: | ||
;Gravity | ;Gravity | ||
:Acceleration downwards. Value is multiplied by 0.065. When multiple materials are part of the same object, the gravity of that object is based on the proportion that each material makes of that object, factoring in density and size. | :Acceleration downwards. Value is multiplied by 0.065. When multiple materials are part of the same object, the gravity of that object is based on the proportion that each material makes of that object, factoring in density and size. For example, an object made of paper with 16 grid tiles and steel with 4 grid tiles will have a combined density of 560 (<code>(16×10)+(4×100)=160+400</code>). Paper, with a gravity of 0.3, contributes 0.0<span style="text-decoration:overline;>857142</span> (<code>0.3×(160/560)=0.3×0.<span style="text-decoration:overline;>285714</span></code>) and steel, with a gravity of 1.0, contributes 0.<span style="text-decoration:overline;>714285</span> (<code>1.0×(400/560)=1.0×0.<span style="text-decoration:overline;>714285</span></code>), resulting in a gravity of 0.8. This can be simplified and generalized to the following <code>(a_1×d_1×g_1 + a_2×d_2×g_2 +...+ a_n×d_n×g_n)/(a_1×d_1 + a_2×d_2 +...+ a_n×d_n)</code>, where '''a''' is the area of the material occupies, '''d''' is the material's density, and '''g''' is the material's gravity. | ||
;Density | ;Density | ||
:Mass per unit volume. | :Mass per unit volume. |