-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest3.lua
More file actions
25 lines (22 loc) · 718 Bytes
/
test3.lua
File metadata and controls
25 lines (22 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
for k,v in pairs(ents.FindByClass('splinemesh')) do v:Remove() end
local pos = Vector(0,-1000,0)
local ang = Angle(0,0,0)
local profile = {
{l = 200, s = 3, r = 3000},
{l = 300, s = 40, r = 3000},
{l = 300, s = 5, r = 3000},
{l = 300, s = -40, r = 3000},
{l = 200, s = 3},
}
local plan = {
{CURVE = false, LENGTH = 100},
{CURVE = true, RADIUS = 600, ANGLE = 20},
{CURVE = false, LENGTH = 100},
{CURVE = true, RADIUS = 600, ANGLE = -20},
{CURVE = false, LENGTH = 100},
{CURVE = true, RADIUS = 600, ANGLE = -20},
{CURVE = false, LENGTH = 100},
{CURVE = true, RADIUS = 600, ANGLE = 20},
{CURVE = false, LENGTH = 100},
}
SplineMesh.Spawn(pos, ang, plan, profile)