Maya particles making falling petals

Source: Internet
Author: User
Tags expression

This is the author in the foreign website to learn some skills and do the tutorial. First look at the picture.

New scene, create a plane, move, and set the value of the u/v slice.

Create the petals, as shown in the picture.

Select plane, create the particle emitter, use emit from object, and set the parameters, as shown.

Create a gravitational field.

Exert a confusions field.

Now, there are already falling particles that associate the petals with the particles.

Create an expression.

As pictured.

Associates an expression with an rotation.

Now, the petals can rotate. Of course, it's not over yet. Then create the floor.

Petals across the ground, we need to drop the petals on the ground and stop the rotation. Select particle and ground, make collide command, set friction and elasticity, as shown in Fig.

Select ParticleShape1 to continue editing an expression.

Specifies the material, the simple flower falls the effect to complete.

An expression:

particleShape1.rbb=rand(0,360);
particleShape1.rbb+=0.001;
float $vel = (particleShape1.velocity)/2000;
particleShape1.rbb += $vel;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.