User Tag List

Results 1 to 3 of 3

Thread: OpenGL - 3D Player Position?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleFirefly 3D Module

    Join Date
    Apr 2008
    Location
    Washington
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    OpenGL - 3D Player Position?

    Just a quick question.

    I've been working with the opengl extention, I can get a "3D" world going and move around in it, but the player seems to run really low to the ground (kind of like a rat, lol). Is there a way to have the "camera" aka player to be off the floor more. If so how could that be done?

    Thanks in advance,
    JGooler

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: OpenGL - 3D Player Position?

    Hey. Just so you know, OpenGL is very hard to use and pretty advanced, an easier 3D extension is in development.

    You can either use the "Translate" action in the "Matrix" subgroup.

    For example,
    Translate 0,-1,0
    Draw cube

    would draw a cube at an Y offset of 1 (The Y axis is inverted in OpenGL).

    Note: You would barely see the cube because it's directly below the "camera". You need to specify a negative Z offset to place the camera in front of the object.

    There also is a "Look at" action if you want to turn the camera towards a coordinate.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleFirefly 3D Module

    Join Date
    Apr 2008
    Location
    Washington
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: OpenGL - 3D Player Position?

    Thanks for the information.

Similar Threads

  1. OpenGl ? how to get all opengl extensions?
    By warlords in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 26th May 2016, 09:57 PM
  2. Player Position
    By xXjbroXx in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 25th April 2010, 10:43 PM
  3. Detect player position between frames.
    By Worf in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th December 2009, 05:28 PM
  4. Screen position relative to taskbar position?
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd April 2009, 08:55 PM
  5. Position the player
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 5th March 2008, 01:41 PM

Posting Permissions

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