Keep particles on curve with working forces

   4914   6   3
User Avatar
Member
16 posts
Joined: Nov. 2013
Offline
I`ll try to simulate roller coaster cars on the track.
I can set normals, velocity and up vector to points on track.
But there is small thing i cant understand.

How to keep particles on curve, slide them freely (without any offset) with applying forces (velocity, gravity and friction/drag) to them. Is it possible?
Without setting position in UV coords for points. Position node and similar not helping. Edge and attractor forces too.
When velocity is too high - particles fall off the track.

I need points to be on the track until they reaches its end(if it exist)

Attachments:
jxZgWNaYJmA.jpg (77.3 KB)

User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
And not Creep too !? :?
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
694 posts
Joined: March 2009
Offline
You could constraint the particles to a curve using point cloud search in a VOP POP.

Cheers

Attachments:
roller_coaster_particles.hip (282.4 KB)

Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
rafaels
You could constraint the particles to a curve using point cloud search in a VOP POP.

Cheers

Oh man , That's perfect solution , I can use it too :wink:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
16 posts
Joined: Nov. 2013
Offline
rafaels
You could constraint the particles to a curve using point cloud search in a VOP POP.

Cheers

:shock: is there a tutorial or something how to do that?

oops forget to login. Thanks for hip.
User Avatar
Member
16 posts
Joined: Nov. 2013
Offline
Well. There is some progress in this rollercoaster.
I`ll did “something physical” with solver dop. But results are not perfect.

What I have for now - animated point fall from a hill, climb at another hill, that higher than first one, and she didn`t get the top of it, and its ok, but when point turn backward, its velosity magically encreased :shock:
Its happens always when point reverse moving direction.

Can anyone help me with kinematic physics in this hip.

Where is a mistake? Maybe I used wrong physical formulas..

And one more thing, i`ll don`t know where to put a friction or air resistance force, without it velocity encreased in exponent to infinity, and its not good


P.S. sorry for bad English, i`ll hope you people understand it)

Attachments:
animation5.hip (206.0 KB)

User Avatar
Member
1 posts
Joined: Oct. 2021
Offline
I had the same problem just with a minecart I wanted to simulate gravity and I found this .hip to simulate a pop on the curve.

Attachments:
GRAVITY CURVE hip.hip (233.7 KB)

  • Quick Links