Author Topic: Interactive Objects in the game world.  (Read 4639 times)

midnightbomber

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Interactive Objects in the game world.
« on: December 16, 2013, 11:52:20 AM »
Hey, so I am wondering if it is possible to make an interactive object in the game world (ie: a computer screen). If so, how do I go about doing this? I attempted with a rendered texture, but I could not interact with it and the other ways I tried, the GUI would move with the camera and not at it's intended fixed location. Thanks for any help with this.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Interactive Objects in the game world.
« Reply #1 on: December 16, 2013, 05:10:04 PM »
Create a game object, add a UIPanel to it, add widget children underneath. Position the panel anywhere like you would any other object in the world.

Keep in mind your entire UI hierarchy is yours to position and scale how you see fit. UIRoot script is optional. which camera draws this UI is yours to change.

midnightbomber

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Interactive Objects in the game world.
« Reply #2 on: December 17, 2013, 04:28:22 AM »
Thanks for the quick reply! I'll give it a try!