Pryme8 Posted June 28, 2018 Share Posted June 28, 2018 https://www.babylonjs-playground.com/#KH103H#6 So I am working on a Cloner Object with influencers. I need some opinions. First, are my alignment calculations necessary? For a linear Cloner, I have Center Left and Right alignments, but that is going to cause me to have to work logic out for all instances which is a pain but what ever. The Circular cloner wont really need Center, but will have Left and Right. What an alignment is doing is giving the cloner system a basis of which direction the calculations should go when it comes to scaling/rotation/offsets on a per step or as a total value. I am struggling with how to handle the scaling as it seems to not be as intuitive as the offsets or the rotation, and could use some advice on how to handle that. Also looking for suggestions on what people would want out of a cloner object. Eventually I want it to be a system similar to C4D's cloner object. Any input would be appreciated, Trying to keep it simple but effective. Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 28, 2018 Share Posted June 28, 2018 @Pryme8 I think adding 'Cloner Objects' as they work in C4D would be excellent. I'm not exactly a C4D fan as you know, but this is an excellent feature. As for setting the pivot points, this should simply be an attribute of a Cloner function in BJS, or use the setPivotPoint() function so that it isn't a separate call that needs to be made... in my opinion. However, it appears you're on your way to achieving... perhaps. DB Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 28, 2018 Author Share Posted June 28, 2018 Pivot points would come into play with the base mesh I would imagine. But great idea!! i know we already have a clonerobject, but it functions like c4d cloner with its distribution set to a reference mesh. It could be way more robust, and have facet/point/random surface distributions along with a seed. Plus with circular and linear options I think it could be really useful, especially as I start introducing effectors. Quote Link to comment Share on other sites More sharing options...
adam Posted June 28, 2018 Share Posted June 28, 2018 Have you seen this? https://github.com/BabylonJS/Extensions/tree/master/ClonerSystem Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 28, 2018 Author Share Posted June 28, 2018 Nope I did not see this thank you! Doing the same concept. I wonder how far he got. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.