UltimateUI guide
How to add 3D Player Display
In this guide, you will learn how to add 3D Player Display
To add a 3D player display, we can use one of two options: select Add Skin after right-clicking in editor, or add it manually in the .yml file of our page.
Below is an example of a .yml file with a skin display added:
- type: skin
id: skin
name: Skin
layer: 1.0
skin: '%player%'
slim: false
rotation: 0
spin:
spinning: true
spin-speed: 100
mouse: true
up-down: true
unlimited-rot: truespinning: truemeans that the skin rotates automatically.spin-speed: truecontrols the skin's rotation speed.mouse: trueallows the skin to be rotated using the cursor.up-down: trueallows the skin to be rotated not only left and right, but also up and down.unlimited-rot: trueallows the skin to be rotated vertically without limits, through a full 360 degrees.
Additionally, we can customize how the skin is displayed. We can adjust the position and rotation of the skin's arms, legs, head, and torso.
Below is an example .yml file containing options for editing the skin's rotation:
- type: skin
id: skin
name: Skin
layer: 1.0
skin: '%player%'
slim: false
rotation: 0
spin:
spinning: true
spin-speed: 100
mouse: true
up-down: true
unlimited-rot: true
parts:
head:
rotation: {x: 0, y: 0, z: 0}
middle:
rotation: {x: 0, y: 0, z: 0}
right_arm:
rotation: {x: 0, y: 0, z: 0}
left_arm:
rotation: {x: 0, y: 0, z: 0}
right_leg:
rotation: {x: 0, y: 0, z: 0}
left_leg:
rotation: {x: 0, y: 0, z: 0}
position:
x: 0
y: 0
size:
width: 128
height: 250