Thread: Mel help
View Single Post
# 1 02-03-2005 , 08:45 PM
Neo-MatrixX's Avatar
Registered User
Join Date: Feb 2004
Posts: 26

Mel help

Hello,

I'm trying to create a number of cones randomly on the ground
using mel.
so far i have the following, but cant figure out how to get the
cones on the ground.

vector $rand;
for ($i = 0;$i<20;$i++)
{
$rand = sphrand(10);
cone -p ($rand.x) ($rand.y) ($rand.z);
}


If anyone could, it would be greatly appreciated