Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

soccer/football

Scott Tureaud
market base?
Join date: 7 Jun 2007
Posts: 224
01-21-2008 17:04
the point is to get a decent soccer/football for kicking about. basically it just dectects when an avatar hits, then takes it's detected rotation and 'kicks' it in that direction. I'm bored and wanted to make a topic.

default
{



collision(integer nbr)
{
if(llDetectedType(0) & AGENT)
{
// llOwnerSay("confirmed";);
llApplyImpulse(llRot2Fwd(llDetectedRot(0))*20, 0);

}
}

}
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
01-21-2008 17:19
ok random xD

try this make a tiny box the shape of a brick apply impulse of 26 and bouyancy of 1.1 and get one of your most hated enamys and have them stand infront of it

;)

lets see if we can make some more crazy things before this post gets locked lol
Scott Tureaud
market base?
Join date: 7 Jun 2007
Posts: 224
01-21-2008 17:33
well the balls work best with 80% hollow and the type set to metal interestingly enough.