Page MenuHomeFeedback Tracker

Character movement bugs (infinite falling, passing through objects, etc.)
New, NormalPublic

Description

The following bugs are extremely annoying, especially to composition makers:

Character passing through objects:

Infinite falling:

The Enhanced Movement mod fixes these bugs simply by spawning a helper object with only a roadway lod, and placing it above the Geom LOD (doing it every frame):

_ins = lineIntersectsSurfaces [
	player modelToWorldWorld [0, 0, 1], 
	player modelToWorldWorld [0, 0, -0.2], 
	player,
	_helper,
	true,
	1,
	"GEOM",
	"NONE"
];


(_ins select 0) params ["_pos", "_normal"];
_helper setPosASL _pos;
_helper setVectorUp _normal;

This can be done by the engine in a faster way with much less performance impact (e.g. probably no need to do a quadtree update like setPosASL does).

The helper object is only a small square surface in the Roadway LOD, which is extremely easy to make:


Details

Severity
Minor
Resolution
Open
Reproducibility
Sometimes
Operating System
Windows 10 x64
Category
Movement
Steps To Reproduce

Simply run this mission and follow the arrows:

It has all the instructions

Event Timeline

Leopard20 created this task.Oct 7 2021, 2:27 PM
Leopard20 updated the task description. (Show Details)Oct 7 2021, 2:32 PM
Leopard20 updated the task description. (Show Details)

Very impressive repro and ticket, fully documented and even with suggestions on how to fix the issue.

I have experienced those bugs on many missions and specially now due to all the complex object compositions available on the workshop.

I am glad I was able to help. Thank you Leopard.

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Oct 7 2021, 7:06 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.