Page MenuHomeFeedback Tracker

[Feature Request] New syntax for `hideObject` command to hide specific LODs
Assigned, NormalPublic

Description

It would be nice to be able to hide a specific LOD of the object only.
For example, being able to pass through an object, without hiding the resolution lods (object still visible), by hiding the geometry LOD.

object hideObject [lodRes, hide];

lodRes: float. LOD resolution
hide: bool. whether to hide the LOD

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Leopard20 created this task.Jul 3 2022, 7:17 PM
Leopard20 changed Category from General to Scripting.
Leopard20 renamed this task from [Feature Request] New syntax for `hideObject` command to [Feature Request] New syntax for `hideObject` command to hide specific LODs.
Leopard20 changed Severity from None to Feature.Jul 3 2022, 7:19 PM
Leopard20 updated the task description. (Show Details)Jul 3 2022, 7:25 PM
POLPOX added a subscriber: POLPOX.Jul 5 2022, 11:30 AM
h- added a subscriber: h-.Jul 6 2022, 9:36 AM
dedmen added a subscriber: dedmen.Jul 13 2022, 12:14 PM

It seems that it might be possible to turn off Geometry, Fire Obstruction, Visual Obstruction.
But I don't think we'll do that

That would be so useful, to prevent physics bugs and even decreasing the negative performance impact of having many rocks with collision on a composition for example... hopefully it gets considered in the future.

It could for example help mitigate the "Touching dead bodies launches vehicles into space in MP bug" by doing something like this to disable each dead body's collision without also making it invisible:

addMissionEventHandler ["EntityKilled", {

 params ["_unit", "_killer", "_instigator", "_useEffects"];
 
_unithideObject [lodRes, hide];

}];

TRAGER added a subscriber: TRAGER.Dec 31 2022, 4:57 AM
Leopard20 changed the task status from New to Assigned.
Leopard20 set Ref Ticket to AIII-56232.