Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- firstpass = true
- function Update(I)
- if firstpass then
- CoM = I:GetConstructCenterOfMass()
- math.randomseed(I:GetTime()+CoM.x+CoM.y+CoM.z)
- firstpass = false
- end
- for i=1,10000,1 do
- local V = Vector3(math.random()*10000,math.random()*10000,math.random()*10000)
- local A1 = math.random()*360
- local A2 = math.random()*360
- local A3 = math.random()*360
- local L1 = Quaternion.Euler(A1,A2,A3) * V
- local L2 = Quaternion.Inverse(Quaternion.LookRotation(V))
- local L3 = GetTargetInfo
- local L4 = Vector3.Magnitude(V)
- local L5 = Vector3.Normalize(V)
- local L6 = Vector3.Distance(V, L5)
- local L7 = Vector3.ClampMagnitude(V, math.random()*1000)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment