Tema: movimientos
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/02/2005, 02:54
ehawee
 
Fecha de Ingreso: noviembre-2004
Mensajes: 19
Antigüedad: 19 años, 5 meses
Puntos: 0
movimientos

hola tengo este codigo:
if( _root.pichorrodcha.hitTest(this._x, this._y, true) ){
var flipper = _root["pichorro"];
var angle = 45 + _root["flipperRight"]._rotation;
var phiRad = Math.PI*(angle/180);
}


hasta esta parte lo entiendo lo que no se es para que sirve es esto:

var movxN = movx*Math.cos(phiRad) - movy*Math.sin(phiRad);
var movyN = movx*Math.sin(phiRad) + movy*Math.cos(phiRad);

es urgente por favor