bdhtrn

cointoss

May 11th, 2011
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. default{
  2.     state_entry(){
  3.         llSetStatus(STATUS_PHYSICS, TRUE);
  4.     }
  5.     touch_start(integer total_number){
  6.         float rForce = (3*llGetMass())+(llFrand(5)*llGetMass());
  7.         float rRot = (llFrand(3)*llGetMass());
  8.         llApplyImpulse(<0,0,rForce>, 0);
  9.         llApplyRotationalImpulse(<0,rRot,0>,TRUE);
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment