Author Topic: [HUDText] Improve screen clamping  (Read 2676 times)

Codewalker

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 21
    • View Profile
[HUDText] Improve screen clamping
« on: April 28, 2014, 12:20:24 PM »
I want to use the UIFollowTarget script to make some target indicators (in 3D). When the target is visible, everything works fine. Any idea how to extend the script, to make correct offscreen indicators? (correct = not clamping but really targeting in the correct direction)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: [HUDText] Improve screen clamping
« Reply #1 on: April 29, 2014, 03:11:06 PM »
HUDText is meant to display on-screen text. For target indicators I would just use simple sprites, positioning them at the edges of the screen as needed.