Files
xrwise-datastructure/objects/Cone.md
T
2026-06-11 09:16:29 +02:00

36 lines
861 B
Markdown

# Cone
### Type
pre-defined
### 3D
The Cone is 1m high with a 0.5m base radius (from Cone.glb mesh).
Its Origin is at the Geometric Center.
Cone is pointing upwards.
Spawnpoint should be {0,0.5,0} so the base rests on the floor.
### Custom Args:
| Key | Type | Implemented | Description |
|---|---|---|---|
| color | hexColor | ✔️ | Color of the cone material |
| grabable | `"true"` / `"false"` | ⚠️ (Unity missing) | Whether the item can be grabbed in-experience (common to all types) |
### Special Notes:
_none_
### Example:
```json
{
"position": { "x": 4.0, "y": 0.5, "z": 0.0 },
"rotation": { "x": 0.0, "y": 0.0, "z": 0.0 },
"scale": { "x": 1.0, "y": 1.0, "z": 1.0 },
"type": "pre-defined",
"resourcename": "Cone",
"item-custom-args": [
{ "argument": "color", "value": "#ff9900" }
],
"item-custom-args-adv": null
}
```