Update scene document version and player start collider settings

This commit is contained in:
2026-04-04 15:51:56 +02:00
parent 30104e815b
commit 450ffc5299
3 changed files with 13 additions and 2 deletions

View File

@@ -629,7 +629,14 @@ export function areEntityInstancesEqual(left: EntityInstance, right: EntityInsta
}
case "playerStart": {
const typedRight = right as PlayerStartEntity;
return left.yawDegrees === typedRight.yawDegrees;
return (
left.yawDegrees === typedRight.yawDegrees &&
left.collider.mode === typedRight.collider.mode &&
left.collider.eyeHeight === typedRight.collider.eyeHeight &&
left.collider.capsuleRadius === typedRight.collider.capsuleRadius &&
left.collider.capsuleHeight === typedRight.collider.capsuleHeight &&
areVec3Equal(left.collider.boxSize, typedRight.collider.boxSize)
);
}
case "soundEmitter": {
const typedRight = right as SoundEmitterEntity;