hey all,
Does unity support 2d drawing.
Like curves, lines, circles?
If not is there an add on?
Thansk!
CP
hey there,
well. a program like flash has drawing commands
thanks lots for those links but they are drawn in a texture and not really objects themselves are they?
ie.(flash)
for (var angle:Number = 45; angle<=360; angle += 45) {
// endpoint
endx = rMath.cos(angleMath.PI/180);
endy = rMath.sin(angleMath.PI/180);
// control:
// (angle-90 is used to give the correct sign)
cx =endx + r* A *Math.cos((angle-90)Math.PI/180);
cy =endy + r A *Math.sin((angle-90)*Math.PI/180);
c.curveTo(cx+x, cy+y, endx+x, endy+y);
Right…Unity, being primarily focussed on 3D, doesn’t have anything like Flash drawing commands.
–Eric
Nonetheless, check out the Renderer classes in Unity. “Renderer components for meshes, particles, lines and trails.” Good stuff!
It should be mentioned that the iphone has no 2D acceleration capabilities, its pure 3D oriented.
3D acceleration is better anyways. It’s 33.3% more "D"s