Jump to content

particle on path


Recommended Posts

Hello,

I'm trying a get this object copied onto a particle which is on a path using the position node.

The problem is the object is not facing the right direction.

It won't turn when the curve is turning, it just faces in one direction.

How should I go about fixing this problem?

Is there a better way to get objects and particles to move along a path?

In the position node, how can I use expressions to control the position instead of manually keyframing it? Say I want it to get from 0 to 1 base on the number of frames.

Thanks.

Edited by StarfishRap
Link to comment
Share on other sites

The simplest is to align with an edge force vector, or the velocity vector. If your object is not rotation-symmetrical around one axis then you need an up-vector or even more complicated setups. There are quite a few threads about this on odforce. Rotations can be very tricky at times and I haven't seen a method yet that works in all cases.

To get from 0-1 in a frame range you can use something like:

fit($F,start,end,0,1)

Edited by Macha
Link to comment
Share on other sites

The simplest is to align with an edge force vector, or the velocity vector. If your object is not rotation-symmetrical around one axis then you need an up-vector or even more complicated setups. There are quite a few threads about this on odforce. Rotations can be very tricky at times and I haven't seen a method yet that works in all cases.

To get from 0-1 in a frame range you can use something like:

fit($F,start,end,0,1)

Thanks for your reply.

It seems very complicated but I'll see what I can come up with.

anyway the expression i used was

fit($F,1,$NFRAMES,0,1)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...