Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Particle rotation event script....

Particle rotation event script....

2004-03-10       - By Dan Yargici

 Back
Reply:     1     2     3     4     5  

I have a particle cloud with a bunch of instanced characters and their rotation
is set to 'align on velocity' but I would only like this to affect Y rotation.
I thought I might be able to take in the rotationarray for the cloud and set
the x and z rotation back to 0 on every frame but it seems the align on
velocity is applied after the script event, thus cancelling it out.

So the question is... how can I reset these or how can I derive my own Y
rotation from the velocity?  I'm not much of a maths head ( I was once, honest!
) so any help would be greatly appreciated.

DAN
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have a particle cloud with a bunch of instanced
characters and their rotation is set to 'align on velocity' but I would only
like this to affect Y rotation.&nbsp; I thought I might be able to take in the
rotationarray for the cloud and set the x and z rotation back to 0 on every
frame but it seems the align on velocity is applied after the script event,
thus
cancelling it out.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So the question is... how can I reset these or how
can I&nbsp;derive my own Y rotation from the velocity?&nbsp; I'm not much of a
maths head ( I was once, honest! ) so any help would be greatly
appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>DAN</FONT></DIV></BODY></HTML>