Hey,
just a quick one, how do you use the arclen expression for measuring perimeter of a curve?
arclen(surface_node, prim_num, ustart, ustop)
Cheers
(Solved)
@primd = `arclen(“/obj/curve_object1/curve1”, 0, 0, 1)`;
Arclen (Solved)
2383 1 0- ludwigvon
- Member
- 27 posts
- Joined: 6月 2016
- Offline
- jsmack
- Member
- 8039 posts
- Joined: 9月 2011
- Offline
ludwigvon
Hey,
just a quick one, how do you use the arclen expression for measuring perimeter of a curve?
arclen(surface_node, prim_num, ustart, ustop)
Cheers
(Solved)
@primd = `arclen(“/obj/curve_object1/curve1”, 0, 0, 1)`;
Don't use hscript in a wrangle. Use
arclen("/obj/curve_object1/curve1", 0, 0, 1)
in a float parameter and reference the result:f@perimeter = chf('arclen_parm');
Segregation allows the vex code to be cached and reused when the value changes.
-
- Quick Links