maxime1992

Members
  • Content count

    4
  • Joined

  • Last visited

  1. maxime1992

    Select a mesh and change it's color?

    =x my bad @aWeirdo !!! It's perfect, thanks for your help
  2. maxime1992

    Select a mesh and change it's color?

    @babbleon tried but it's not working as expected @aWeirdo thx it's getting closer BUT, if you make the scene rotating with your mouse and while it's rotating/in motion, click on a part it'll not be selected/unselected.
  3. maxime1992

    Select a mesh and change it's color?

    Hey, thanks for the quick answer (and the demo!) @aWeirdo I'm facing 1 issue though with your demo: It's selecting or loosing the focus on a mesh if I drag and drop in/out of one of them. For example the biggest part is selected, you just want to rotate the camera and drag from/to an empty point, you'll lose the focus. I thought of using scene.onPointerPick But I'm getting scene.onPointerPick is not a function I tried to search into the event but there does not seem to be a starting and ending position so I don't know how to figure out whether it's a drag or not
  4. Hi! I'm completely a newbie in 3D world and BabylonJs. What I'd like to do is to be able to select a given mesh by clicking on it and change it's color to show that it has been selected. I've created a really basic scene with 2 meshes and googled my problem but couldn't find anything about that. Maybe it's super trivial (?) Here's my example, thanks for any help or any useful resource to get started on this task https://playground.babylonjs.com/#TC2K69