Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- r = 40
- h= 0.25
- g = 0.15
- dim = []
- len = []
- pul = []
- ring = []
- ring2 = []
- for i in [0...100] by 1
- len.push(i * 1)
- for i in [0...100] by 1
- dim.push(Math.pow((Math.pow(r,2)-Math.pow(i,2)),0.5))
- for i in [0...100] by 1
- pul.push(0)
- for i in [0...5] by 1
- ring.push(i * 1)
- for i in [0...100] by 1
- ring2.push(Math.pow((Math.pow(r,2)-Math.pow(i,2))*1.03,0.5))
- return model =
- name: 'TrueBall'
- level: 3
- bodies:
- section1:
- section_segments: 50
- offset:
- x: 0
- y: 0
- z: 0
- position:
- x: pul
- y: len
- z: pul
- width: dim
- height: dim
- texture: [30]
- section3:
- section_segments: 50
- offset:
- x: 0
- y: 0
- z: 0
- position:
- x: pul
- y: len
- z: pul
- width: dim
- height: dim
- texture: [1]
- angle: 180
- ring1:
- section_segments: 100
- offset:
- x: 0
- y: 0
- z: 0.5
- position:
- x: pul
- y: ring
- z: pul
- width: ring2
- height: ring2
- texture: [5]
- angle: 0
- ring2:
- section_segments: 100
- offset:
- x: 0
- y: 0
- z: 0.5
- position:
- x: pul
- y: ring
- z: pul
- width: ring2
- height: ring2
- texture: [5]
- angle: 180
- level1:
- section_segments: 64
- offset:
- x: 0
- y: 0
- z: 39
- position:
- x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
- y: [-17*h*2,-16.815*h*2,-16*h*2,-15.12*h*2,-13.24*h*2,-11.36*h*2,-9.48*h*2,-7.5*h*2,-5.46*h*2,-3.838*h*2,-1.878*h*2,0,1.878*h*2,3.828*h*2,5.46*h*2,7.6*h*2,9.48*h*2,11.36*h*2,13.24*h*2,15.118*h*2,16*h*2,16.815*h*2,17*h*2]
- z: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
- width: [0,5*h,11.49*h,15.55*h,21.326*h,25.294*h,28.222*h,30.414*h,32.198*h,33.122*h,33.792*h,34*h,33.792*h,33.122*h,32.198*h,30.414*h,28.222*h,25.294*h,21.326*h,15.55*h,11.49*h,5*h,0]
- height: [0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0]
- texture:[5]
- propeller: false
- level2:
- section_segments: 64
- offset:
- x: 0
- y: 0
- z: 40
- position:
- x: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
- y: [-17*g*2,-16.815*g*2,-16*g*2,-15.12*g*2,-13.24*g*2,-11.36*g*2,-9.48*g*2,-7.5*g*2,-5.46*g*2,-3.838*g*2,-1.878*g*2,0,1.878*g*2,3.828*g*2,5.46*g*2,7.6*g*2,9.48*g*2,11.36*g*2,13.24*g*2,15.118*g*2,16*g*2,16.815*g*2,17*g*2]
- z: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
- width: [0,5*g,11.49*g,15.55*g,21.326*g,25.294*g,28.222*g,30.414*g,32.198*g,33.122*g,33.792*g,34*g,33.792*g,33.122*g,32.198*g,30.414*g,28.222*g,25.294*g,21.326*g,15.55*g,11.49*g,5*g,0]
- height: [0,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,0]
- texture:[1]
- propeller: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement