Let's go back to the purpose of your project, the hospital,
it will be easier to use only mouseEvent3D, because they will handle a
lot of feathure, and because you're in a 3d scene now !!!!!! ;-)

I don't know your project, but imagine you have 5 type of room,
repeated 2 times per floor, and for 4 floors:
>create your 5 rooms,
>import them,
>stock them as Object3D or mesh in an Array or Dictionnary.

>>>>then you have your room geometry,with a default material imported.
You can now use this dictionnary to clone any room (yourMesh.clone
(theObjectToClone) ) and set it a new material and new mouseEvent.
 Does it make sens ?


Reply via email to