Skip to content

Add ability to lock object's angle

Philipp Hergenhahn requested to merge cutscene-fix into main

Updated the CObject class to include an option to lock an object's angle. This functionality was added because there are cases, such as overlays or cutscenes, where the object's angle should remain static. When angle lock is enabled, angular velocity calculations always return 0.0f. This new feature helps to improve control over object's movements by disabling their angular motion under specific conditions.

Merge request reports

Loading