realtlacitka.png (1143 bytes) Real3D Amiga Environment Real3D Amiga Tutorials Real3D Amiga Projects Real3D Amiga Macros Real3D Amiga Other Back to Real3D Amiga home page

6.18.1 A Planet and Meteorites

In this example we will create a planet and several meteorites. The gravity of the planet causes meteorites to collide with the planet. However, collisions between meteorites are not detected.

1. Model meteorites using small spheres.

2. Create a COLLISION method to the same level with them.

3. Create a planet under the COLLISION method. Add the tag FMAS 10000000 to the sphere to make it very massive.

4. Create a RADIAL FORCE method to the same level with the meteorites. Create an offset primitive under it defining the position for the force. Create it in the middle of the planet.

5. Create a PROCESSOR method.

realtut6.18.1_1.png (5386 bytes)
YouTube Figure T6-54: Collisions only Between the Planet and the Meteorites.

6. Play the animation. Depending on the size of the objects, you may have to adjust the frame count; if meteorites move so fast that they get through the planet surface, just increment animation Resolution value.

ghh don'tpanic