PDA

View Full Version : Instanced Particle direction question...


ntmonkey
03-30-2004, 07:15 AM
Hey Gang,

If I have instanced particle with a geometry (let's say it's a bird). How would I make it point in the same direction it's flying?

Thanks in advance,

Lu

Jozvex
03-30-2004, 07:21 AM
Searching the forum for particle instancing surely would have produced the answer, but I'll get over it.

If you open up the Attribute Editor with the particles selected, go to the Instancer section and change the AimDirection option to Velocity.

I think that's it.....I haven't got Maya open!

ntmonkey
03-30-2004, 07:54 AM
I found a website that said the same thing. It works, to a degree. Sometimes the instanced model do twitchy turns when make sharp revolutions. I threw the question up here to see if there's a better way.

Thanks Jozvex for not beating me up on the Search function.

Lu

WhiteRabbitObj
03-30-2004, 06:01 PM
You could probably write a custom attribute for the direction. Feed in the velocity vector, then use some sort of averaging function on it. I'm not much of a programmer yet so I can't tell you exactly the expression, but it shouldn't be too hard. Just create a vector attribute named something like aimDir. Then under your aimDirection, choose aimDir and you're set.

jishjosh
03-31-2004, 02:11 AM
base your aimDirection on Velocity.

CGTalk Moderation
01-17-2006, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.