Hi, got some problem with the moveLeft function. Trying to move the
camera (after I have set the position, also have a dynamic lookAt) to
get the position affected by the mouse position. If I send in a big
number the camera starts to wobble back and forth even if the moveLeft
parameter is the same. Below you can see a trace:

trace(position)
var ml:int = int(mousePercentX * - 250);
this.moveLeft(ml);
trace(ml)
trace(position)
trace("----")


----
x:100 y:400 z:-32
-249
x:151.84388449179536 y:400 z:-275.54303858004516
----
x:100 y:400 z:-32
-249
x:342.452413930746 y:400 z:-88.72589337466802
----
x:100 y:400 z:-32
-249
x:243.2550324676863 y:400 z:171.66392825604183
----


Has anyone got a clue what's going on?

/Ludwig

Reply via email to