Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 17-02-2003 , 02:02 PM
iasion's Avatar
Registered User
Join Date: Dec 2002
Location: Luleå - Sweden
Posts: 15

Rotating instanced particles

Hi guys!

I have a problem when trying to animate bullet cases coming out of a gun. If the gun is in the same position, everything is ok. However, when the gun is rotated, the bullets are not. They are coming out in the correct direction, but they are not rotated along with the gun. Any suggestions on what I'm doing wrong?

The cases are particles that are instanced with a NURBS model.

Basicly, I wonder if it's possible to rotate singel particles, and not all as a group.

/Andreas

# 2 17-02-2003 , 02:24 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Not sure but here's a wild guess: I wonder what happens if you rotate the original bullet model with the gun (the one you used for instancing)...

If it works you could set an orient constraint or a rotation expression to it...

I have no access to Maya right now so I'm just guessing here...


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
# 3 17-02-2003 , 02:49 PM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
At highend, there is a script that was just released this weekend that MIGHT help you....

Do a search for: "Instancer Random Rotation v0.0"
Or on thier main maya page, it;s the 4th or 5th link down on the new scripts page...


Also K has a good point too, but I also am not in front of Maya at the moment...


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 4 17-02-2003 , 03:04 PM
iasion's Avatar
Registered User
Join Date: Dec 2002
Location: Luleå - Sweden
Posts: 15
I've tried to rotate the original bullet. However, now all bullets are rotated. Even those who already are in the air.

I forgot to mention that the gun is a machine gun, and a lot of bullets are supposed to be in the air at the same time

I'm a bit new to using scripts. How do I use it when it's downloaded?

/Andreas

# 5 17-02-2003 , 06:56 PM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Yo can open the .mel with a text editor like Wordpad, and there are instructions in thereuser added image

(Right-click, and choose, OPEN WITH, and choose Wordpad or whateveruser added image

Hope it helps youuser added image


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 6 19-02-2003 , 09:44 AM
iasion's Avatar
Registered User
Join Date: Dec 2002
Location: Luleå - Sweden
Posts: 15
Thanks for the help guys!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads