Hey let's switch away from bullet to anything else

Everything about development and the OpenMW source code.
User avatar
Amenophis
Posts: 247
Joined: 30 Oct 2011, 04:34
Location: Fortaleza - Ceará - Brasil

Re: Hey let's switch away from bullet to anything else

Post by Amenophis » 30 Aug 2018, 14:55

I'd love to see objects been moved around like Amnesia does.
https://youtu.be/2ve0eVwjv5k?t=37s
My fixes and tweaks on vanilla and modded quests for Morrowind.
http://www.nexusmods.com/morrowind/mods/43107/?

User avatar
gus
Posts: 389
Joined: 11 Aug 2011, 15:41

Re: Hey let's switch away from bullet to anything else

Post by gus » 30 Aug 2018, 16:03

It would need a lot of work. I once tried to enable physics for non static objects for fun. Well it was hilarious: as soon as you enter somewhere, objects start flying all over the place. The reason is that objects (books,etc) collision shapes often intersect with other objects collision shapes. It's not trouble in Morrowind as these object do not interact with each others, but as soon as you allow interactions, BOOM. Solving this would require 'cleaning' the position of every object in the game, so it's a lot of work.
And it would most likely mess with the AI too.

claudekennilol
Posts: 56
Joined: 01 Aug 2012, 20:48

Re: Hey let's switch away from bullet to anything else

Post by claudekennilol » 30 Aug 2018, 19:21

It seems like that could be solved by only turning on interaction when any given object is being interacted with by the player (or when an actor is given a specific action to interact with it, but this doesn't sound like 1.0). It would definitely be a more interesting way to place objects than a mod with a dialog box to move the object under the cursor by X/Y/Z amount and/or rotation.

User avatar
Amenophis
Posts: 247
Joined: 30 Oct 2011, 04:34
Location: Fortaleza - Ceará - Brasil

Re: Hey let's switch away from bullet to anything else

Post by Amenophis » 30 Aug 2018, 19:35

Let's dream about the future :D
My fixes and tweaks on vanilla and modded quests for Morrowind.
http://www.nexusmods.com/morrowind/mods/43107/?

User avatar
raevol
Posts: 2779
Joined: 07 Aug 2011, 01:12
Location: Caldera

Re: Hey let's switch away from bullet to anything else

Post by raevol » 31 Aug 2018, 00:26

lysol wrote:
30 Aug 2018, 14:05
Now this discussion became interesting suddenly.
Agreed. What's up gus!

Regarding physics for everything, that really is a post-1.0 thing. I think the original intention of this thread was getting normal collision in the game as it stands now to be less of a mess.

User avatar
lysol
Posts: 1043
Joined: 26 Mar 2013, 01:48
Location: Sweden

Re: Hey let's switch away from bullet to anything else

Post by lysol » 31 Aug 2018, 04:20

raevol wrote:
31 Aug 2018, 00:26
Regarding physics for everything, that really is a post-1.0 thing. I think the original intention of this thread was getting normal collision in the game as it stands now to be less of a mess.
Yes, but if we decide to switch physics engine, it's kind of important that it will be able to handle physics for everything.
Normal mapped texture replacers, exclusive for OpenMW:
My Nexus page

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

Re: Hey let's switch away from bullet to anything else

Post by psi29a » 31 Aug 2018, 08:44

Don't forget the work done by cc9cii in his branch... doing work with ragdall like physics using bullet when supporting Oblivion in OpenMW.

https://www.youtube.com/watch?v=6AfYltej0qI

https://www.youtube.com/watch?v=mM1lE8frdYc

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

Re: Hey let's switch away from bullet to anything else

Post by wareya » 31 Aug 2018, 09:49

Even if we change whatever collision system the actor movement solver uses, we can keep bullet in for stuff like that. The biggest problem with bullet is its absolutely terrible API, though. Callback objects are one of the worst antipatterns in all of programming.

There's actually a situation where numerical precision trouble could make the problem in the OP happen even after backing out: https://i.imgur.com/5t4kKdH.png but it's super obscure and shouldn't have been happening with the geometry I was testing against (an oblique-angled concave corner, and separately, a sloped wall).
paying attention to #1751/#1816 #2473 #3609 #3862/#3929 #3807 #4297

User avatar
gus
Posts: 389
Joined: 11 Aug 2011, 15:41

Re: Hey let's switch away from bullet to anything else

Post by gus » 31 Aug 2018, 10:10

Even if we change whatever collision system the actor movement solver uses, we can keep bullet in for stuff like that. The biggest problem with bullet is its absolutely terrible API, though. Callback objects are one of the worst antipatterns in all of programming.
I believe Newton is also based on callbacks... and IIRC, PhysisX was/is too...

I agree that the documentation sucks. But to be honest, is Newton documentation that much better?

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

Re: Hey let's switch away from bullet to anything else

Post by wareya » 31 Aug 2018, 11:12

Callbacks are fine. Callback objects are bad.
paying attention to #1751/#1816 #2473 #3609 #3862/#3929 #3807 #4297

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests