Rotating an Oval
Posted: Sat Jul 29, 2006 8:29 pm
Hi All,
I do appear to have one sticking point with Rev -- it's inability (or maybe my inability to get it to work) to rotate a vector that contains a smooth curved edge -- like an Oval.
I have an Object (Oval vector) following a randomly generated bezier path -- I want the vector to turn and point along the path as it goes along the path.
No problem with the path and moving the object along it, but rotating/turning as it goes seems impossible.
I have read all the documentation and noted the differences between angle, rotation and revRotatePoly.
Docs say use the revRotatePoly command to rotate a line, curve, or irregular polygon graphic, and use angle to set the angle of a regular polygon or image.
Doesn't seem to leave much to rotate an oval with.
I have come to the conclusion (possibly wrong) that it is impossible to rotate a vector oval, using either revrotatepoly or the angle function.
I have read through the many rotation/angle references in the user group, and I did gain some useful insight through the opinions of Jim Hurley, Malte and a few others that have commented on this subject.
The inability of being able to rotate a smooth curved vector is a major disincentive to me using Rev, as many games require this.
I can rotate an image of course, but then you lose the hard smooth edge that vectors give.
If anyone can show me the way through this problem, what I am doing wrong, or has a workaround, I would appreciate it. I can't believe a simple thing like rotating a vector containing a smooth curve is so difficult.
cheers
Paul
I do appear to have one sticking point with Rev -- it's inability (or maybe my inability to get it to work) to rotate a vector that contains a smooth curved edge -- like an Oval.
I have an Object (Oval vector) following a randomly generated bezier path -- I want the vector to turn and point along the path as it goes along the path.
No problem with the path and moving the object along it, but rotating/turning as it goes seems impossible.
I have read all the documentation and noted the differences between angle, rotation and revRotatePoly.
Docs say use the revRotatePoly command to rotate a line, curve, or irregular polygon graphic, and use angle to set the angle of a regular polygon or image.
Doesn't seem to leave much to rotate an oval with.
I have come to the conclusion (possibly wrong) that it is impossible to rotate a vector oval, using either revrotatepoly or the angle function.
I have read through the many rotation/angle references in the user group, and I did gain some useful insight through the opinions of Jim Hurley, Malte and a few others that have commented on this subject.
The inability of being able to rotate a smooth curved vector is a major disincentive to me using Rev, as many games require this.
I can rotate an image of course, but then you lose the hard smooth edge that vectors give.
If anyone can show me the way through this problem, what I am doing wrong, or has a workaround, I would appreciate it. I can't believe a simple thing like rotating a vector containing a smooth curve is so difficult.
cheers
Paul