About this mod
A deranged mod that implements a somewhat simple and naive physics engine in pure lua and exposes a rich interface for developers. Drag and throw items around, get messed for messing with someone's property.
- Permissions and credits
Items fall though shelves in the video due to shelve objects not having proper colliders (they were not made with physics in mind). Its not within the scope of this mod to fix Morrowind colliders.
Lua Physics for OpenMW
A deranged mod that implements a somewhat simple and naive physics engine in pure lua and exposes a rich interface for developers.
Think Half-Life 1 level of physics, maybe a bit better.
Apart from being mostly developer-centered API - this mod also enables physics all of the items in the game (things you can put in you inventory). You can drag them around, throw them and break bottles. But be warned - messing around with someone's property too much - will not be tolerated (if noticed, which depends on your sneak skill, proximity and sheer luck)
This mod also has a Github page.
Credits
Sound Effects: Sound effects were recorded, scavenged from freesound.org or otherwise produced by NimSound and myself. Additionally a sound library "Lesser Vibes" by Sergey Eybog was used.
Separate thanks to taitechnic for exposing a series of convenient interface functions from OpenMW Impact Effects and helping with visual effects.
Installation
---
Install dependencies:
OpenMW Impact Effects - Highly recommended, but probably not required.
---
Use Mod Organiser 2 - if you downloaded mod archive manually (e.g from Git) - drag-n-drop it into the Mod Organiser 2
Or, if you want to install manually:
Extract contents into your Morrowind/Data Files
---
Enable LuaPhysicsEngine.omwscripts in the Launcher
---
How to use
Set up a key bind for dragging items around in settings->scripts->LuaPhysics. Drag items around by holding that key. While dragging - press attack key to throw. Hitting items with a weapon or fists will send them flying or even break some of them (some bottles).
Ranged attacks or spells currently DO NOT AFFECT physics objects, OpenMW Lua doesn't allow for that... yet.
Actors moving through stationary physics objects also will not affect them.
Developer API
Apart from playing around with physics items - primary purpose of this mod is to expose a set of methods that other developers can use to implement physics-based mods. API is explained on the mod's Github page