pointer position 2

This commit is contained in:
Kseninia Mikhaylova 2024-09-04 12:26:32 +03:00
parent a3a5868979
commit de85d06140
1 changed files with 1 additions and 2 deletions

View File

@ -188,8 +188,7 @@ const loadModels = async () => {
el.material.color = point_color el.material.color = point_color
} }
}) })
point.position.set(world_position.x, world_position.y, world_position.z) point.position.set(world_position.x, size.y, world_position.z)
console.log(world_position)
point.updateMatrixWorld() point.updateMatrixWorld()
point.name = `${element.id}_clickable` point.name = `${element.id}_clickable`