PDA

View Full Version : particle rotation according to surface normal???


bluehonda
09-03-2008, 01:35 AM
Hello to all effects people,

Just need a big help here. I need to rotate my particles depending on the normals of a geometry. I created particles which collide with a wall. Then i created a collision event where my initial particle emit another particle when it collides. I instanced a plane on the 2nd particleShape created on collision. I need the instanced plane to rotate per particle according to the surface of the wall geometry. The wall is not flat, it has different shapes.

Hope someone here can help. Thankyou.

drGonzo
09-03-2008, 04:41 PM
Pare,

have a look at a PP attrs called collisionWorldNormal. No docs on it (of course), but helpful for what you need.

CGTalk Moderation
09-03-2008, 04:41 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.