Commit f8e76037 authored by chechunchi's avatar chechunchi

fix cemetery scaling

parent 603dae00
......@@ -70,9 +70,13 @@ const CCemetery = (props: {
<box
name="cemetery"
ref={boxRef}
width={shape.width}
height={shape.height}
depth={depth * props.state.length}
scaling={
new BABYLON.Vector3(
shape.width,
shape.height,
depth * props.state.length
)
}
position={props.position}
rotation={props.rotation}
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment