Rail objects missing "View Geometry" LODs
Acknowledged, HighPublic

Description

Hi, I'm attempting to add support for trains using the CUPS rail objects. The script uses the lineIntersectsWith method to detect track objects. However, most of the CUPS rail objects don't have "View Geometry" defined, which causes the lineIntersectsWith to fail. Could the rail objects be updated to support this LOD? Ideally, a simple box around the entire track would be enough.

Thanks,
Duda

Details

Affected classnames
CUP_Railway_rails_25,CUP_Railway_rails_bridge_40,CUP_Railway_rails_curve_L25_10,CUP_Railway_rails_curve_R25_10,CUP_Railway_rails_down_25,CUP_Railway_rails_down_40,CUP_Railway_rails_linebreak_concrete,CUP_Railway_rails_linebreak_iron,CUP_Railway_rails_passing_10,CUP_Railway_rails_passing_25,CUP_Railway_rails_turnout_L,CUP_Railway_rails_turnout_R,CUP_Railway_rails_up_25,CUP_Railway_rails_up_40,CUP_Railway_rails_v_LB_RE,CUP_Railway_rails_v_LE_RB,CUP_Railway_rails_v_SP,CUP_Railway_rails_v1_LB_RE,CUP_Railway_rails_v1_LE_RB,CUP_Railway_railsN_25,CUP_Railway_railsN_40,CUP_Railway_railsN_curve_L25_10,CUP_Railway_railsN_curve_L25_5,CUP_Railway_railsN_curve_L30_20,CUP_Railway_railsN_curve_R25_10,CUP_Railway_railsN_curve_R25_5,CUP_Railway_railsN_curve_R30_20,CUP_Railway_railsN_turnout_L,CUP_Railway_railsN_turnout_R
duda created this task.Feb 21 2017, 2:15 PM
duda added a comment.Feb 21 2017, 2:24 PM

There are a few I've seen that have "partial" view geom defined. Here's one example:

CUP_Railway_rails_25 - This object has View Geom defined, but only covers the metal rails.

NeoArmageddon triaged this task as High priority.Feb 21 2017, 5:41 PM
NeoArmageddon changed the task status from Needs Review to Acknowledged.