Page 1 of 1

[0.16.51] item-request-proxy collides with trains

Posted: Tue Jul 31, 2018 10:27 pm
by DaveMcW
I made a flying car by removing the collision_mask.

Code: Select all

data.raw["car"]["car"].collision_mask = {}
data.raw["item-request-proxy"]["item-request-proxy"].collision_mask = {}
It works great, it doesn't collide with anything. Even if I run out of fuel while on top of a railroad.




I also made a mod to request fuel when the car runs out.

Code: Select all

car.surface.create_entity{ name = "item-request-proxy", position = car.position, target = car, force = car.force, modules = {["nuclear-fuel"] = 1} }
Unfortunately the train collides with the item-request-proxy. :cry:
collision.jpg
collision.jpg (343.69 KiB) Viewed 3308 times

Re: [0.16.51] item-request-proxy collides with trains

Posted: Wed Aug 01, 2018 1:35 pm
by posila
Lol, that's pretty hilarious, if you ask me :D :D :D

Thanks for the report.
Fixed for 0.17