tyFlow Forum
Domino sleeping until it hits another domino - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Domino sleeping until it hits another domino (/thread-4157.html)



Domino sleeping until it hits another domino - Sharai - 03-08-2024

Hello,

how I can make a domino on different surfaces, not just on flat ground?
So domino sleeping until it hits another domino.

Print screen:
https://ibb.co/whTxmFQ

File:
https://drive.google.com/file/d/1hWyLfv-MhnwP1OPJapXXBDslBLvK0VUa/view?usp=sharing


RE: Domino sleeping until it hits another domino - d4rk3lf - 03-08-2024

Here is my solution.

Main operator here is PhysX Collision that triggers particles when they collide (and send them to be active).
And it has very handy option "future collisions" that I increased to 5, and it predicts future collisions, otherwise, dominos would always sort of freeze in each collision, while detecting themselves (make a zero that option, and you will see what I mean).

Hope it helps.


RE: Domino sleeping until it hits another domino - Sharai - 03-12-2024

(03-08-2024, 09:19 PM)d4rk3lf Wrote: Here is my solution.

Main operator here is PhysX Collision that triggers particles when they collide (and send them to be active).
And it has very handy option "future collisions" that I increased to 5, and it predicts future collisions, otherwise, dominos would always sort of freeze in each collision, while detecting themselves (make a zero that option, and you will see what I mean).

Hope it helps.

Thank you, that very help.


Scatter object directly on voxels? - Sharai - 03-22-2024

Hello,
maybe there is a way to scatter objects directly on voxels?
Now I can use Object Bind because it can be used only on mesh.


RE: Domino sleeping until it hits another domino - d4rk3lf - 03-22-2024

(if I understand you correctly)

Sure.
Create TyFlow, and load your first geometry (terrain) via birth voxels. Add shape (boxes or whatever), and then add mesh operator and disable "render only" (this will make TyFlow just like regular 3DS Max mesh)
Create second TyFlow, and scatter on first TyFlow like you would do with any other object (birth, position object operators).

Not sure why you mention object bind... you will need it, only if your terrain (your voxel object) moves, and you want your trees to be linked with it, and move with it.


RE: Domino sleeping until it hits another domino - Sharai - 03-29-2024

Very thank you.