Difference between revisions of "GlassProxy"
(Created page with "This page is in development Category: IntruderMM") |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == Introduction == | |
+ | [[File:glassproxy.PNG|right|thumb|150px|top|The GlassProxy as it appears in Unity]] | ||
+ | |||
+ | The '''Glass Proxy''' is a proxy prefab in the [[IntruderMM]]. It can be used to create breakable glass surfaces in your custom level. | ||
+ | |||
+ | == Function == | ||
+ | The Glass Proxy appears in Unity as a rectangle with the Glass material. When placed, upon map load the surface will gain glass properties as selected in Unity. When destroyed, it will create glass particles and leave behind glass edges in the area where it was placed. | ||
+ | |||
+ | The glass can be resized on the X and Y axes to fit the desired area, as well as rotated as desired. Scaling on the Z axis, however, will '''not''' cause the glass to adapt increased or decreased thickness in game. Glass can be broken by shooting (the amount of bullets required dictated by the HP value), destroyed in one hit by [[hands]], or by falling bodies. | ||
+ | |||
+ | == Parameters == | ||
+ | The Glass Proxy's parameters in Unity are displayed below. | ||
+ | |||
+ | *'''HP''' | ||
+ | **Integer. Determines the amount of shots to the glass required for it to break. Glass will always break instantly to falling bodies or hands regardless of this setting. | ||
+ | |||
+ | |||
+ | {{Template:IntruderMM Assets}} | ||
[[Category: IntruderMM]] | [[Category: IntruderMM]] |
Latest revision as of 12:51, 24 July 2019
Introduction
The Glass Proxy is a proxy prefab in the IntruderMM. It can be used to create breakable glass surfaces in your custom level.
Function
The Glass Proxy appears in Unity as a rectangle with the Glass material. When placed, upon map load the surface will gain glass properties as selected in Unity. When destroyed, it will create glass particles and leave behind glass edges in the area where it was placed.
The glass can be resized on the X and Y axes to fit the desired area, as well as rotated as desired. Scaling on the Z axis, however, will not cause the glass to adapt increased or decreased thickness in game. Glass can be broken by shooting (the amount of bullets required dictated by the HP value), destroyed in one hit by hands, or by falling bodies.
Parameters
The Glass Proxy's parameters in Unity are displayed below.
- HP
- Integer. Determines the amount of shots to the glass required for it to break. Glass will always break instantly to falling bodies or hands regardless of this setting.