Difference between revisions of "Materials"
Jump to navigation
Jump to search
m |
|||
Line 4: | Line 4: | ||
=== Functional Spec === | === Functional Spec === | ||
* Materials are Stone, Metal, Glass, Wood, Flesh, Plastic, Rubber, and Light( | * Materials are Stone, Metal, Glass, Wood, Flesh, Plastic, Rubber, and Light(deprecated). | ||
* Material can be changed via script, [[llSetPrimitiveParams]]. | * Material can be changed via script, [[llSetPrimitiveParams]]. | ||
* Material can be changed via UI,j Edit window > Object tab > Materials. | * Material can be changed via UI,j Edit window > Object tab > Materials. | ||
Line 15: | Line 15: | ||
* Material affects the collision sound an object makes by default. | * Material affects the collision sound an object makes by default. | ||
** You can change the collision sound via [[llCollisionSound]]. | ** You can change the collision sound via [[llCollisionSound]]. | ||
=== Test scripts === | === Test scripts === |
Revision as of 06:33, 2 September 2007
Feature Design Document
(none)
Functional Spec
- Materials are Stone, Metal, Glass, Wood, Flesh, Plastic, Rubber, and Light(deprecated).
- Material can be changed via script, llSetPrimitiveParams.
- Material can be changed via UI,j Edit window > Object tab > Materials.
- PRIM_MATERIAL_LIGHT is depricated and cannot be set via the UI, but can still be set via script, llSetPrimitiveParams. An light made this way is "Fullbright" and does not cast light onto objects around it, it only appears to be brightly lit. You can also get this same effect by simply checking the Full Bright option in the Texture tab.
- PRIM_MATERIAL_LIGHT was depricated because we have a new, more definable, light in the Features tab.
- PRIM_MATERIAL_LIGHT merely makes the object appear Full Bright
- Material does affect the Mass of a primitive but all material types affect the Mass equaly.
- Material affects the friction of a primitive.
- Glass is the most slippery.
- Material affects the collision sound an object makes by default.
- You can change the collision sound via llCollisionSound.
Test scripts
(none)
Discussion for future improvements
(none)
Relationship to other features
List of features that need to be tested when this feature changes, and why.
llGetMass - make sure objects are still the same mass.
llGetObjectMass - make sure objects are still the same mass.