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 kim aldis

 Back
Reply:     1     2     3     4     5  

it should work, Dan. Although if you're doing it in jscript there are some
problems with re-assigning the arrays at the end of the loop. I used a
cloud-based script and just looped through the particles, setting the
rotations as I needed them. Worked pretty well for faking patch deforms and
still getting the orientation right.


 __ __  

From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of
Dan Yargici
Sent: 10 March 2004 16:03
To: XSI@(protected)
Subject: Particle rotation event script....


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=us-ascii">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=171583316-10032004><FONT face=Arial
color=#008080 size=2>it should work, Dan.&nbsp;Although if you're doing it in
jscript there are some problems with re-assigning the arrays at the end of the
loop. I used a cloud-based script and just looped through the particles,
setting
the rotations as I needed them. Worked pretty well for faking patch deforms and
still getting the orientation right.</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid;
MARGIN-RIGHT: 0px">
 <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
 <HR tabIndex=-1>
 <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected)
 [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Dan
 Yargici<BR><B>Sent:</B> 10 March 2004 16:03<BR><B>To:</B>
 XSI@(protected)<BR><B>Subject:</B> Particle rotation event
 script....<BR></FONT><BR></DIV>
 <DIV></DIV>
 <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></BLOCKQUOTE></BODY></HTML>