Graphics card: gtx1050ti
Short description of error
Information about the position of objects is obtained in a different way for the viewport and render when working with drivers
The position of the dummy in the viewport is taken from its past state. When rendering from the frame on which the viewport was standing.
Exact steps for others to reproduce the error
1.create a cube
2.create a dummy (or another cube)
- Set for dummy driver in the X position
- Script expression: (bX + aX) /2
[bX is the position of the dummy on the x axis]
[aX is the position of the cube on the x axis]
- create an animation on x axis for target cube
- play in vievport
- play in render
p.s. Rendered animation https://youtu.be/1HdPOXR1qCs (sound driver's work's right but render isn't) planks on sides must indicate acceleration (in vievport its right) indicators on front sides must indicate drift.
p.p.s I offer 2 solutions: 1. take the position of objects for drivers from their position in the last frame. 2. add the parameters "speed"(local and world space) and "acceleration"(same) to the properties of object's in drivers tab.