Commit f8e76037 authored by chechunchi's avatar chechunchi

fix cemetery scaling

parent 603dae00
...@@ -70,9 +70,13 @@ const CCemetery = (props: { ...@@ -70,9 +70,13 @@ const CCemetery = (props: {
<box <box
name="cemetery" name="cemetery"
ref={boxRef} ref={boxRef}
width={shape.width} scaling={
height={shape.height} new BABYLON.Vector3(
depth={depth * props.state.length} shape.width,
shape.height,
depth * props.state.length
)
}
position={props.position} position={props.position}
rotation={props.rotation} 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