Jump to content

Player.OldWorldTransform does not work in Unigine 2.11


photo

Recommended Posts

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

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
×
×
  • Create New...