Replace spawn marker with box-based figure
This commit is contained in:
@@ -91,7 +91,7 @@ export function SpawnPanel() {
|
|||||||
const storedRotationDegrees = Math.round((node.rotation * 180) / Math.PI)
|
const storedRotationDegrees = Math.round((node.rotation * 180) / Math.PI)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PanelWrapper icon="/icons/spawn-point.svg" onClose={handleClose} title="Spawn Point" width={300}>
|
<PanelWrapper icon="/icons/site.png" onClose={handleClose} title="Spawn Point" width={300}>
|
||||||
<PanelSection title="Position">
|
<PanelSection title="Position">
|
||||||
<SliderControl
|
<SliderControl
|
||||||
label="X"
|
label="X"
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export const SpawnTreeNode = memo(function SpawnTreeNode({
|
|||||||
alt=""
|
alt=""
|
||||||
className="object-contain"
|
className="object-contain"
|
||||||
height={14}
|
height={14}
|
||||||
src="/icons/spawn-point.svg"
|
src="/icons/site.png"
|
||||||
width={14}
|
width={14}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,13 +54,13 @@ export const SpawnRenderer = ({ node }: { node: SpawnNode }) => {
|
|||||||
<meshStandardMaterial {...materialProps} />
|
<meshStandardMaterial {...materialProps} />
|
||||||
</mesh>
|
</mesh>
|
||||||
|
|
||||||
<mesh position={[0, 0.36, 0]} {...handlers}>
|
<mesh position={[0, 0.41, 0]} {...handlers}>
|
||||||
<cylinderGeometry args={[0.08, 0.08, 0.54, 24]} />
|
<boxGeometry args={[0.3, 0.54, 0.16]} />
|
||||||
<meshStandardMaterial {...materialProps} />
|
<meshStandardMaterial {...materialProps} />
|
||||||
</mesh>
|
</mesh>
|
||||||
|
|
||||||
<mesh position={[0, 0.68, 0]} {...handlers}>
|
<mesh position={[0, 0.83, 0]} {...handlers}>
|
||||||
<sphereGeometry args={[0.16, 24, 16]} />
|
<boxGeometry args={[0.18, 0.18, 0.18]} />
|
||||||
<meshStandardMaterial {...materialProps} />
|
<meshStandardMaterial {...materialProps} />
|
||||||
</mesh>
|
</mesh>
|
||||||
</group>
|
</group>
|
||||||
|
|||||||
Reference in New Issue
Block a user