[Home]AngularMirrorMovement

Robo Home | Changes | Preferences | AllPages

A type of MirrorMovement where you copy just the angle of your opponent.

Sample code:

setTurnRightRadians(Utils.normalRelativeAngle(e.getHeadingRadians() - getHeadingRadians()));

stelo.MirrorNano 1.2 uses this method.

-- Stelokim


Robo Home | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited October 17, 2006 16:47 EST by Stelokim (diff)
Search: