Morrowind modders continue to astound, add object physics with 'pure lua' to a 23-year old game
Morrowind modders continue to astound, add object physics with 'pure lua' to a 23-year old game
… Ok, that is legitimately impressive, from a technical standpoint.
Lua is a high level, not exactly very ‘fast’, very performant language. It is designed to be very, very human readable, and coding noob friendly.
Getting a 3D physics engine to work … in lua… is not something I would have thought possible.
Usually you need to use a much lower level language to … actually do that.
Imma be the guy and drop an ackshually
Yeah, was gonna say this.
If you actually do use Lua to significantly alter the actual physics, shit gets fuckywucky really, really fast… its quite inefficient and laggy.
I know, because I’ve tried to implement custom physics manipulations in Gmod via Lua… the netgraph, and server side lag, becomes absolutely absymal, really fast, if you’re trying to use it for more than just a few objects/interactions at a time.
Like the uh… Armored Combat Framework?
That tries to use Lua to allow you to construct your own custom tanks and what not?
That tries to do things like penetration/ricochet calls on physics and collision hulls… through Lua?
Astoundingly inefficient and laggy in pretty much any situation with more than 3 or 4 vehicles operating and engaging each other at the same time.
You have to have an unusually powerful server to be able to handle more than that, and its still gonna chug as you scale up conflict sizes.