İm trying to make a war game that includes planes , helicopters , artillery , apc, anti air etc. (basically air and ground vehicles)
İ make their models but i dont know how can i make a lock on missile system (like a plane locks missiles on another plane, an artillery locks a missile to a plane)
i will be happy if anybody can answer
wow, lock on is pretty complex How fighter jets target and lock on enemy jets | MiGFlug.com Blog.
well, if you’re flying a plane, the basic idea of lock on is focusing that plane’s radar capabilities directly on one target, which provides additional info which can be used in calculations for, say, firing your gun at the plane
im coming up with this basically all in my head, but you would probably make some plane object (maybe a metatable), and make different functions for getting targets, choosing to lock on a target, etc etc…
you could make some of the extremely complex functions to determine how a plane’s lockon and HUD works and replicate it into roblox, but its so complex that barely anyone bothers (i mean, look at star wars battlefront). they sort of just make the guns hit the target.
depending on how intensely overcomplicated you want to make this game, and what planes/tanks/apc/artillery/anti-air/whatever people use in war these days you want to use, this lock-on function is going to take you either 2 minutes or 2 months of headaches and metatables
from what i’ve read on this article (which i have no idea if its fact, do your own research), lock on doesn’t really do much to help the pilot easily guide their guns to the enemy plane. its more of a big highlighter (“Hey, pilot!!! There’s a huge plane, here’s a whole ton of info, go shoot them down”), but most people on roblox arent air force pilots with years of experience, so you might have to do some undercomplication
good luck, cause ik for a fact that if i tried to do this, i would give up after 2 days!