Project

General

Profile

Bug #806

Incorrect collision behavior against open surfaces

Added by Paul McElroy over 4 years ago. Updated 21 days ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
Physics
Target version:
Start date:
05/31/2013
% Done:

0%

Reproducibility:
Always
Operating system:
Other
Severity:
Normal

Description

In vanilla-Morrowind, with collision turned ON, the player could walk through the reverse side of non-closed models, the case often being an interior wall piece, a large boulder, or the ceiling of an interior kit piece approached from the wrong side.

This behavior is actually rarely used to create trick walls, or surfaces where the player can go into an area from one direction, but once they pass through the invisible surface of the wall, they cannot return that way because the wall, having been there all along, is now visible from the players point of view, and cannot be passed through again.

Another time when this is helpful is when a player glitches out of the proper play area in an interior and needs to simply get back into the interior from the void. Or when a player COCs to a location and is stuck inside a rock or building model (currently a problem with our coc implementation, since it doesn't take into account statics at the drop-off location).

History

#1 Updated by Emanuel Guével over 4 years ago

  • Target version set to openmw-future

Confirmed (with terrain and statics).

"coc Balmora" is an example of COC leaving you inside of a rock.

#2 Updated by scrawl . over 4 years ago

Don't see the need to replicate this unless there really is content that absolutely depends on it.
coc behaviour can be fixed to check for obstacles.

#3 Updated by Paul McElroy about 4 years ago

I asked around. Haplo, the administrator of Tamriel-Rebuilt, the largest ongoing modification for Morrowind, tells me that TR uses this functionality. His exact words:
Yes, we do use this feature multiple times. The most memorable time is in an ayleid ruin interior cave by Hemitheon in an as-of-yet unreleased part of the map. It was probably an oversight in vanilla Morrowind that let this happen (it probably wasn't intended to work that way, or at least not to be used), but since it exists, I know we at TR and probably other mods have used it too. -Haplo

#4 Updated by Marc Zinnschlag about 4 years ago

Yeah, that should be fixed in some way. Even if there was no content making use of it, the current coc behaviour is a pain in the arse when doing content development.

#5 Updated by scrawl . over 2 years ago

  • Priority changed from Normal to Low

I don't see an urgent need to change this (ignoring that it would be a lot of work and maybe require patching Bullet). Things like one-sided walls can be easily done using scripting. The coc behaviour should be better now.

#6 Updated by Paul McElroy about 1 year ago

This bug has been referenced recently:
https://forum.openmw.org/viewtopic.php?f=20&t=3817

It seems other mods use the "one-way collision" behavior present in Vanilla, however the commenter (NatalieN) in the post through the link suggested that old mods need to and can be updated to avoid making use of it to make them compatible with OpenMW.

#7 Updated by Alexei Dobrohotov about 2 months ago

  • Status changed from New to Confirmed

#8 Updated by Miloslav Číž 21 days ago

This could maybe be done by excluding collision results whose normal is close to movement direction (dot product close to 1) in ClosestNotMeConvexResultCallback::addSingleResult().

Also available in: Atom PDF