Rotate instanced geometry

 
 
 

If you are instancing geometry with nParticles, you can use rotationPP to rotate instanced geometry on a per-particle basis. The rotation per-particle attribute is automatically created on the nParticleShape node when Calculate Rotations is on. See Rotation in the nDynamics guide.

To rotate instanced geometry

  1. In the nParticleShape node Attribute Editor go to the Rotation section and turn on Compute Rotations.

    RotationPP is created on the nParticleShape node.

  2. Instance either a single object or sequence of objects as described in Create animated instances.
  3. In the Particle Instancer Options window or the nParticle Attribute Editor, set the following:
    • Turn on Allow all data types.

      This lets you use scalar attributes, such as radiusPP, to set vector attributes such as Scale.

    • In the Rotation Options section, select rotationPP from the Rotation list.
    • In the General Options section, select radiusPP from the Scale list.

      Selecting this ensures that your instanced geometry will be appropriately scaled to nParticle Radius.

Related topics

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License