@kaspar.wtf wrote:
hi, I’m creating a simple butterfly movement using ofNode.
ofNode butterfly; ofPlanePrimitive lWing, rWing;
both of these wings are offset from the center and are parented to the butterfly object
lWing.setParent(butterfly); rWing.setParent(butterfly); lWing.move(-110, 0,0); rWing.move(110, 0, 0);
before trying to make the wings flap, I’d like to make sure that each butterfly and its wings is aligned with its velocity
For debugging purpose I draw the head (using position+velocity) and tail (using position) of the butterfly in red and white respectively to get an idea of the orientation that they are supposed to have
Posts: 11
Participants: 2