particles move in an orbit

   2325   2   1
User Avatar
Member
9 posts
Joined: 2月 2015
オフライン
Hi all! Tell me how to make the particles move in an orbit, like stars in a galaxy, and not fly apart? Thanks

Attachments:
image.png (917.3 KB)
imaged.png (785.5 KB)

User Avatar
Member
2658 posts
Joined: 6月 2008
オフライン
By using Vexpression, you can control the force based upon distance from center.

Controls popaxis force.
vector origin = {0,0,0};
orbitspeed = fit(abs(length(@P-origin)),0,1,3,0);

Controls applied drag.
vector origin = {0,0,0};
airresist = fit(abs(length(@P-origin)),0,1,0,10);
Edited by Enivob - 2022年11月25日 11:27:47

Attachments:
popnet_galaxy.gif (1.6 MB)
ap_popnet_galaxy.hiplc (314.9 KB)

Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
9 posts
Joined: 2月 2015
オフライン
Enivob, its look great, thx U!
  • Quick Links