35 lines
899 B
Markdown
35 lines
899 B
Markdown
# Wall
|
||
|
||
### Type
|
||
pre-defined
|
||
|
||
### 3D
|
||
The Wall is a flat rectangular Cube with dimensions 10m × 5m × 0.1m.
|
||
Its Origin is at the Geometric Center.
|
||
Spawnpoint should be {0,2.5,0} (half height above floor).
|
||
|
||
### Custom Args:
|
||
| Key | Type | Implemented | Description |
|
||
|---|---|---|---|
|
||
| color | hexColor | ✔️ | Color of the wall material |
|
||
| opacity | float (0–1) | ⚠️ (not in Unity) | Transparency of the wall material |
|
||
| grabable | `"true"` / `"false"` | ⚠️ | Whether the item can be grabbed in-experience (common to all types) |
|
||
|
||
### Special Notes:
|
||
|
||
### Example:
|
||
|
||
```json
|
||
{
|
||
"position": { "x": 0.0, "y": 2.5, "z": -5.0 },
|
||
"rotation": { "x": 0.0, "y": 0.0, "z": 0.0 },
|
||
"scale": { "x": 1.0, "y": 2.0, "z": 1 },
|
||
"type": "pre-defined",
|
||
"resourcename": "Wall",
|
||
"item-custom-args": [
|
||
{ "argument": "color", "value": "#ffffff" }
|
||
],
|
||
"item-custom-args-adv": null
|
||
}
|
||
```
|