armory3d / armory3d/armory

RigidBody Stuttering when Time.scale is modified for Slow Motion

Open
#2,387 0 comments 0 reactions 0 assignees View on GitHub
physics
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Hi everybody and thanks for all the work!
I have recently updated from Debian 10 (Blender 2.83) to a Windows system (Blender 2.93). Without any change in the code, rigid bodies stutter when changing time scale to achieve slow motion. I suspect it is a Bullet Engine issue, seems like it stopped interpolating rigid body transforms and, as rendering and physics are out of sync, stutter shows.

**To Reproduce**
Give Time.scale a lower value, for instance.
```iron.system.Time.scale *= 0.5;```

**System**
Ryzen 5900HS, GTX 1650 Mobile
Blender 2.93.5
ArmorySDK2110

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with Blender 2.93.5, ArmorySDK2110, and `iron.system.Time.scale *= 0.5`, then inspect the Bullet rigid-body update and rendering synchronization paths. Done means rigid bodies remain visually smooth when time scale is reduced.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender, cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.