
















|
Name: Welding Robot
Objectives:
Creating realistic welding sparks in an existing LW scene
Adding PS to an existing Scene
Parenting Particles to a scene object
Adding Gravity
Adding a Collision Object
Approximate Time: 20 Minutes
Instructions:
Load the Ikarm.lws from the scenes\ robots directory. Move the scrub bar to get a sense of the motion of the scene. Locate the null object named weldtipnull. This will be the origin of the particles.
Particle Storm Settings
Load and activate the Particle Storm plug-in. Select camera from the Active Instance list, and parent it to the layout camera, leaving all other settings at there defaults.
Select item type Fountain Emitter and parent it to the weldtipnull. Run the preview and you should see particles flying off from a path described by the end of the robot arm.
The effect of heavier welding sparks can be obtained by adding Gravity. Select item type Gravity, click on Create, and highlight the particle group to be affected in the Affected Particles box. Now when you run the simulation the particles drift downward from the tip of the robot arm.
Adding a floor
To complete the illusion of a welding torch we want the sparks to bounce off the floor. We will do this using a Collision Object. Select item type Collision Detection and hit Create. We want the collision shape to be a box 100 meters square and 1 meter thick, so in the Size boxes enter X=100, Y=1, and Z=100. The bottom of the robot arm is at 0,0,0, so that is where we want the floor to be. The position of the collision object should be X=0, Y=-1, and Z=0, which matches the top of the collision object to the base of the robot. Highlight the particle group in the Affected Particles box and run the simulation. You should now see the particles streaming from the tip of the welder, falling to ground level and bouncing on the floor.
|