rotation

pylayers.mobility.ban.body.rotation(cycle, alpha=1.5707963267948966)[source]

rotate a cycle of frames by an angle alpha

cyclenp.array

3 x np x nf

alphafloat

angle in radians

cycle modifiednp.array

3 x np x nf