Difference between revisions of "PRIM MATERIAL GLASS"
Jump to navigation
Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=PRIM_MATERIAL_GLASS |type=integer |value=2 |desc=Very low friction |examples= |constants= {{LSL ConstRow|PRIM_MATERIAL}} |fu...) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{LSL Constant | |||
|name=PRIM_MATERIAL_GLASS | |name=PRIM_MATERIAL_GLASS | ||
|type=integer | |type=integer | ||
Line 9: | Line 7: | ||
|constants= | |constants= | ||
{{LSL ConstRow|PRIM_MATERIAL}} | {{LSL ConstRow|PRIM_MATERIAL}} | ||
{{!}}} | |||
{{LSL Constants/PrimitiveParams/materials|table=*|sortable=*}} | |||
{{{!}} | |||
|functions= | |functions= | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} | ||
Line 16: | Line 17: | ||
{{LSL DefineRow||[[changed]]|}} | {{LSL DefineRow||[[changed]]|}} | ||
|location | |location | ||
|cat1=Prim | |cat1=Prim/Materials | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Latest revision as of 09:40, 24 April 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_MATERIAL_GLASS = 2;The integer constant PRIM_MATERIAL_GLASS has the value 2
Very low friction
Caveats
Related Articles
Constants
• | PRIM_MATERIAL |
material Flags | Description | Friction | Restitution | ||||
---|---|---|---|---|---|---|---|
PRIM_MATERIAL_STONE | 0 | stone | 0.8 | 0.4 | |||
PRIM_MATERIAL_METAL | 1 | metal | 0.3 | 0.4 | |||
PRIM_MATERIAL_GLASS | 2 | glass | 0.2 | 0.7 | |||
PRIM_MATERIAL_WOOD | 3 | wood | 0.6 | 0.5 | |||
PRIM_MATERIAL_FLESH | 4 | flesh | 0.9 | 0.3 | |||
PRIM_MATERIAL_PLASTIC | 5 | plastic | 0.4 | 0.7 | |||
PRIM_MATERIAL_RUBBER | 6 | rubber | 0.9 | 0.9 | |||
7 | light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ] |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |