Hi Jerome, this is perfect - exactly what I searched!
On Thu, 01 Jul 2010 16:46:27 +0200, elguapoloco <[email protected]> wrote:
It's in there already: the HoverCamera3D.hover() function returns false if the camera hasn't moved. //////////// hover() method public function hover(jumpTo:Boolean = false):Boolean Updates the current tilt angle and pan angle values. Values are calculated using the defined tiltAngle, panAngle and steps variables. Parameters jumpTo:Boolean (default = false) Returns Boolean — True if the camera position was updated, otherwise false. //////////// A simple work around, use TweenMax.delayedCall(5, myFunctionThatStopsRendering) Pop that in a MouseUp event handler, assuming you control the hover cam with the mouse. Once the user releases the mouse the scene will stop rendering after 5 seconds. It's not perfect but it works :) Otherwise if the hover returns false, stop rendering. ath Jerome
