Instanciate preconfigured dynamic objects during simulation

Posted by:serpin
Data created:8 August 2016


I was wondering if it's possible to create run-time duplicates of objects during simulation.

What I mean is: say you have a rubber ball object in the scene with a Lucid modifier properly set up. The ball simulates well and has all parameters configured. Now I would like to have a ball launcher that would create dulicates of the object with Lucid modifier (basically initializing it on demand during simulation) and make them interact with the rest of the objects in the scene.

Seeing how well FleX and Lucid handle new particles in the scene (when creating them with PFlow for example) I wonder if it's possible to add whole objects to the simulation during simulation and not just use the initial state of the scene to initialize the simulation once.

While you can't select a ready made object to be a part of PFlow simulation, you can configure PFlow particles to behave a certain way. However, it is an interesting idea.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Hope you find some time to investigate it. Think Unity engine and its prefab instancing: you have a rigged object with all necessary properties and with a line of code you instantiate it anywhere in the scene and upon instantiation it becomes live and starts acting. Being able to at least instantiate scene shapes with PFlow would be nice.