Hey !
I have tons of bugs on your playgrounds, since :
You should only provide the createScene() function (you shouldn’t create engine, set render loop, etc)
There is an infinite loop on the sphere being moved while picked, ending up with sphere in camera
Also, you can work with NGE where the node Instantiate on Face
could be usefull as well… Did you try it ?
Tricotou:
There is an infinite loop on the sphere being moved while picked, ending up with sphere in camera
I can’t imagine any other way to do this without a sphere.
I found an interesting example for myself with the placement of an atlas on which it could be done as a radius, but I don’t have such a goal.
Image Projection | Babylon.js Playground
You can keep a sphere, but I was speaking about not having it pickable.
For example have a look at the PG I had given in this topic :
(Click and paint object with the sphere)
1 Like
Tricotou:
You can keep a sphere, but I was speaking about not having it pickable.
For example have a look at the PG I had given in this topic :
Babylon.js Playground
(Click and paint object with the sphere)
What does that have to do with it? I don’t need generation based on XZ coordinates on the object, I need it for the XYZ version.
Although your version is also suitable, but only with the disappearance of objects after a certain time.
The scatter addon is like in blender only on Babylon.js! (Version 5 - With objects disappearing after a set time) | Babylon.js Playground
Now I have created a new version.
I added a new version. All gizmos change all gizmos, and not just the first gizmo changes all the others, and the rest cannot be changed in any way.
The scatter addon (Version 10 - All gizmos change all gizmos, not just the first gizmo that changes all the others) | Babylon.js Playground
Tricotou:
You can keep a sphere, but I was speaking about not having it pickable.
For example have a look at the PG I had given in this topic :
Babylon.js Playground
(Click and paint object with the sphere)
In general, I liked your version of scatter, and I decided to continue it.
I added a new version. It randomly moves the scatter ball with linear scattering of objects.
The scatter addon (Version 11 - random movement of the scatter ball with a linear spread) | Babylon.js Playground