Proximity fuse with findInCone
🔫 Weapons•Updated 2 days ago•1 views
Attach a findInCone function to the gun, e.g. findInCone(Gun:toWorld(vec(1200,0,0)),Gun:forward(),fromUnit("m",250),7), then get the distance between the found …
How do I make a proximity fuse for a gun using findInCone in E2?
Attach a findInCone function to the gun, e.g. findInCone(Gun:toWorld(vec(1200,0,0)),Gun:forward(),fromUnit("m",250),7), then get the distance between the found entity and the base to set the fuse. Radar data can also set the fuse from target position plus target velocity.