kzaharov Posted May 31, 2020 Share Posted May 31, 2020 If I understand the problem in our software correctly, then Player.OldWorldTransform does not work in C# Unigine 2.11. We set Position and ViewDirection for player and then it should reflect on the OldWorldTransform value, but it doesn't Link to comment
morbid Posted June 1, 2020 Share Posted June 1, 2020 Hello, How can we reproduce this issue? Could you please provide a sample? Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
kzaharov Posted June 2, 2020 Author Share Posted June 2, 2020 We set player's position and view direction: Player.Position = pos; Player.ViewDirection = dir; Next frame check if players's transformation changed if(!Player.OldWorldTransform.Equals(Player.WorldTransform)) { //some action on player moved } But OldWorldTransform is not changed. These are my observations Link to comment
Recommended Posts