New Object Selection resource
by Rubes · in Torque Game Engine · 05/01/2006 (8:28 pm) · 3 replies
Hi folks...
Just wanted to let you know I submitted a new resource which updates Dave Myers's Object Selection resource from a year ago, so you can check it out before it makes the official list. I made some modificatons to that resource, most of which were noted in the discussion that followed, so I thought I would be useful to compile it all into a new resource since there are some significant differences.
This resource starts with a stock installation of TGE 1.4 and starter.fps and will allow you to:
1. "select" objects by pointing at them with the crosshair and clicking the mouse button (left or right), and
2. exempt an already "selected" object from click detection, so you can select an object inside or right next to another object
In addition, for those with TLK, it will also show you how to make "selected" objects appear brighter (essentially self-illuminated) to indicate they are selected.
The code is designed for first-person POV, but it can be adapted (using code from the earlier resource) to make it work for third-person POV as well.
The new resource can be found here:
Updated Object Selection (with TLK bonus)
Just wanted to let you know I submitted a new resource which updates Dave Myers's Object Selection resource from a year ago, so you can check it out before it makes the official list. I made some modificatons to that resource, most of which were noted in the discussion that followed, so I thought I would be useful to compile it all into a new resource since there are some significant differences.
This resource starts with a stock installation of TGE 1.4 and starter.fps and will allow you to:
1. "select" objects by pointing at them with the crosshair and clicking the mouse button (left or right), and
2. exempt an already "selected" object from click detection, so you can select an object inside or right next to another object
In addition, for those with TLK, it will also show you how to make "selected" objects appear brighter (essentially self-illuminated) to indicate they are selected.
The code is designed for first-person POV, but it can be adapted (using code from the earlier resource) to make it work for third-person POV as well.
The new resource can be found here:
Updated Object Selection (with TLK bonus)
Torque Owner Drew Hitchcock