What can OMW physics do?

General discussion regarding the OpenMW project.
For technical support, please use the Support subforum.
Post Reply
User avatar
johndh
Posts: 124
Joined: 25 Jan 2015, 18:20

What can OMW physics do?

Post by johndh » 04 Feb 2017, 22:55

I've heard mention that OMW incorporates Bullet as its physics engine, but what does that entail? Does this enable the kind of physics interactions/puzzles that we see in adventure games? Can it be done where a player can, for example:
Push an object out of the way of a door?
Push an object onto a switch to activate it?
Push an object onto one end of a lever to lift the opposite end?
Push an object off a ledge and drop it on someone to cause damage?
Pick up and throw an object that is not a throwing weapon?
Cut a rope to drop a hanging object?
Stack boxes to make a staircase?

As I understand it, Bullet can do a lot more than that, but how would a content creator work with these things in OMW (i.e. through scripting, OMW-CS, etc)?
Free/libre assets for OpenMW, updated frequently: http://opengameart.org/content/openmw-s ... sibilities

User avatar
wareya
Posts: 108
Joined: 09 May 2015, 13:07

Re: What can OMW physics do?

Post by wareya » 05 Feb 2017, 00:19

"Physics engine" is the wrong term here. In how OpenMW is set up (because it's trying to copy morrowind, not make a unique game) the way interactions work is the domain of game logic, not bullet. Bullet makes it a lot easier for the game logic to do the "look for collisions, decide what to do" part.

User avatar
johndh
Posts: 124
Joined: 25 Jan 2015, 18:20

Re: What can OMW physics do?

Post by johndh » 05 Feb 2017, 00:42

Does that mean there's not really a physics system in the way most people would think of it (dynamic interactions between objects and forces), and that it's basically just for things like hit detection and keeping you from walking through walls or falling through the floor?
Free/libre assets for OpenMW, updated frequently: http://opengameart.org/content/openmw-s ... sibilities

User avatar
psi29a
Posts: 3481
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: What can OMW physics do?

Post by psi29a » 05 Feb 2017, 09:07

Currently, yes... the physics 'engine' is mostly used for collisions detection. We've not spent more time on it because for Morrowind is that good enough.

Post-1.0 physics involves things like ragdoll physics. This is in the pipe-line, for example cc99cii has a working branch that allows loading of Oblivion assets like a hanging lamp in a room where you push it and it swings around. There is a video of this in the forum somewhere.

Chris
Posts: 1315
Joined: 04 Sep 2011, 08:33

Re: What can OMW physics do?

Post by Chris » 05 Feb 2017, 09:08

johndh wrote:Does that mean there's not really a physics system in the way most people would think of it (dynamic interactions between objects and forces), and that it's basically just for things like hit detection and keeping you from walking through walls or falling through the floor?
Essentially, yeah. Bullet does allow for more dynamic continuous interactions between objects and forces, but OpenMW doesn't leverage that capability yet.

User avatar
Pherim
Posts: 139
Joined: 27 Aug 2014, 15:37

Re: What can OMW physics do?

Post by Pherim » 05 Feb 2017, 11:12

You'd probably have to edit most meshes and (possibly) game objects to make "real" physics work, anyway. You can't just make the engine capable of doing something and expect the game to do it by itself. But it seems you are aware of that.

silentthief
Posts: 271
Joined: 18 Apr 2013, 01:20
Location: Currently traversing the Ascadian Isles

Re: What can OMW physics do?

Post by silentthief » 05 Feb 2017, 18:25

johndh wrote: Push an object out of the way of a door?
Push an object onto a switch to activate it?
Push an object onto one end of a lever to lift the opposite end?
Push an object off a ledge and drop it on someone to cause damage?
Pick up and throw an object that is not a throwing weapon?
Cut a rope to drop a hanging object?
Stack boxes to make a staircase?

Would be awesome to be able to do these kind of things. You may be able to do creative scripting to do some of these (such as have the "Push an object onto a switch to activate it" example be a movable activator, or have a destructible object, like an invisible NPC that can register damage or onhit scripts be paralized in place where the rope from "Cut a rope to drop a hanging object" is -- and the hit on the NPC would activate the rope cut animation), but most of these if you can make them work is going to be creative work arounds such as this.

These are the same things that the original MW scripting engine could do, so at this time, afaict, openmw has no advantages in this area yet

you can do a lot with the scripting engine, but the physics is pretty mundane at this point afaict

ST the mundane

(edited a few times for clarity)
"Hurry, hurry! Last boat to Solstheim! Until the next one. Hah-ha-hah."

User avatar
johndh
Posts: 124
Joined: 25 Jan 2015, 18:20

Re: What can OMW physics do?

Post by johndh » 05 Feb 2017, 22:09

Cool. Thanks for the clarification, everybody. I'll keep an eye out for post-1.0 developments.
Free/libre assets for OpenMW, updated frequently: http://opengameart.org/content/openmw-s ... sibilities

User avatar
Pop000100
Posts: 64
Joined: 18 Aug 2014, 21:17
Location: Loitering around Gnisis.

Re: What can OMW physics do?

Post by Pop000100 » 06 Feb 2017, 09:33

This in fact one of the things on my evergrowing wishlist i do hope that we can retain the organiztion power of the staticiness, like making pillow forts with the stacking mechanic.
psi29a wrote:......example cc99cii has a working branch ..............
The Thread

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests