1 Reply Latest reply on Feb 2, 2007 6:19 AM by Nickname_is_none

    Swapping arrow key control for mouseup sprite

    Nickname_is_none
      I have a bit of script that I'm using to understand moving around a 3D room. It uses navigation via the arrow keys with this script:

      on control camera
      if pRightArrow then pCamera.translate(1,0,0)
      etc.

      This script is a behaviour attached to the 3D model. How do I change this so that I can control the navigation via 'clickable' sprites elsewhere on the stage?

      I know that I have to attach some script to the actual sprite (like 'on mousedown me...translate..... etc) , but how do I reference the trigger of the sprite to the action of the 3D model?