Expression help
OK gang, this is what I'm trying to do...
I have a particle system of instanced geometry, and I want each instance to face the camera similar to what a sprite would do. However I can't use sprites because of the geometry instancing. I've tried writing an expression, but to no avail. (I'm still new tro writing expressions) Can anyone help me and tell me what type of expression to write? Thanks muchly, -dann |
Hmm... tricky one...
Maybe instead of instancing you write expressions to duplicate the geometry for each particle which already had aim constraints to the camera. Just an idea... Here's how I used this idea in the blood cell animation I did few months ago: http://forum.simplymaya.com/showthre...&threadid=6495 |
Thanks for the idea, but I know there is a way to script what I'm looking for, I'll just have to keep looking.
|
Have you had any luck yet?
|
No, I gave up. Actually I figured out a hack around this. I placed the center point of the particle object at the same location as my camera and linked the particle to the camera. Now when the camera loves, the particle object follows it right? Well since the particles themselves emit int the world, they don't actually care where the particle node goes. Then I asssigned the Aim Direction to be Position and they aim themselves at the position of the particle node's center point.
Not the cleanest method, but it works. |
Cool:)
Sometimes a hack is the easiest way to pull off the shot. Good goin! |
Ugh! I just realized the stupid simple solution. Just give the object being instanced an aim constriant, and aim it at the camera. After that, every instance in the particle system will aim at the camera.
|
:banghead: :D
|
All times are GMT. The time now is 04:16 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018