Results 1 to 2 of 2
  1. #1
    Skaarj
    Join Date
    Apr 2009
    Location
    Vancouver Bc
    Posts
    16

    Default Mouse and camera relationship question

    Hey everyone.

    I've been in the industry for a while, but only as an environment artist. Lately i have tinkered around with the concept of a point and click camera and i ran into this tutorial.

    http://udn.epicgames.com/Three/Devel...Interface.html

    This has given me a SUPERB setup for what i'm thinking to do, however after doing all these changes, i am unable to figure out a method for connecting the mouse and camera rotation together.

    SO, here is what i have set up so far. I have the code for a point and click game set up for the most part. I also have a camera attached and offset from the player through Kismet. Even though this is all fine so far, I want to link up a right click mouse button to activate the tumbling of the camera (so the camera rotates around the player) and when it's released, it goes back to the point and click which is currently set up in that tutorial i posted earlier.

    I am rather new to scripting, so any help with this would be greatly appreciated!

    Thanks in advance everyone!

  2. #2
    Skaarj
    Join Date
    Apr 2009
    Location
    Vancouver Bc
    Posts
    16

    Default

    No help? This is the one thing that's really confusing me. I have found a tutorial that deal with the rotation of the camera when you right click, but i can't seem to integrate the two.

    http://forums.epicgames.com/showthread.php?t=719004

    I want to be able to rick click any time on the screen (holding down the button), and rotate the camera when the mouse is moved (kind of like the default in UDK, both the game and the editor) and have it go back to normal when you release the right mouse button.

    Again, any help would be greatly appreciated!


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.