PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
prevent standard 3D Model rotation
A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: prevent standard 3D Model rotation

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    4

    Question prevent standard 3D Model rotation

    Hi,

    i need a code to prevent 3D Models the standard mouse rotation in KoolMoves.
    The Model should not move when clicking on it and move the mouse.
    This may be very easy to do but i just can't figure it out.

  2. #2
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,422
    I believe that rotation code is in the frame action script. You can comment it out.

  3. #3
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,881
    Actionscript Code:
    function runtime(event:Event):void {
    //  mdl.rotationY += 0.5;
    // prevent rotation
        view.render();
        if (navigate) {
    //      mdl.rotationY = (lastMouseX - mouseX)/2 + lastRotationY;
    // ignore the mouse actions
        }
    }

  4. #4
    Junior Member
    Join Date
    Aug 2010
    Posts
    4
    I can't find this script in Koolmoves 7.5.1.
    Where is it ???

  5. #5
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,422
    In the first or second frame, right-click and select Edit Frame Action Script.

  6. #6
    Junior Member
    Join Date
    Aug 2010
    Posts
    4
    Make a new Project in Koolmoves and import a 3D Model. There is NO ACTIONSCRIPT in any frame. I think it's a bug.

  7. #7
    Super Moderator
    Join Date
    Jun 2000
    Posts
    3,422
    It isn't a bug. If you want that code reported, you will have to edit KoolMoves / Bin / AS3 / Import Scripts OR import the 3D mode using action script and not the gui.

  8. #8
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Still waiting for Necro3d Documentation and examples

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center