Offset pos for resource_searching_radius
Posted: Thu Sep 25, 2025 11:14 am
Heya,
I have a drill/sawmill example where it would be nice for the orientation to matter in its placement. I'm not looking for anything extravagant like a special collision box that overrides the radius.
I'd just require something simple like a resource_searching_offset which would take an {x,y} co-ord (in relation to a north facing drill) and move the origin of the resource radius to there (and draws the visualization there). Allows for nice uneven/asymmetric drill types. (In my case, one that only mines a large area behind it, e.g. {0, -6} ).
Cheers
I have a drill/sawmill example where it would be nice for the orientation to matter in its placement. I'm not looking for anything extravagant like a special collision box that overrides the radius.
I'd just require something simple like a resource_searching_offset which would take an {x,y} co-ord (in relation to a north facing drill) and move the origin of the resource radius to there (and draws the visualization there). Allows for nice uneven/asymmetric drill types. (In my case, one that only mines a large area behind it, e.g. {0, -6} ).
Cheers