dont change camera on crossings
parent
4905c74ddf
commit
31a50a73cb
|
@ -1198,9 +1198,6 @@ no information to check this
|
||||||
}
|
}
|
||||||
AbsolutePosition = pos;
|
AbsolutePosition = pos;
|
||||||
|
|
||||||
// reset camera to avatar pos
|
|
||||||
CameraPosition = pos;
|
|
||||||
|
|
||||||
if (m_teleportFlags == TeleportFlags.Default)
|
if (m_teleportFlags == TeleportFlags.Default)
|
||||||
{
|
{
|
||||||
Vector3 vel = Velocity;
|
Vector3 vel = Velocity;
|
||||||
|
@ -1209,8 +1206,11 @@ no information to check this
|
||||||
PhysicsActor.SetMomentum(vel);
|
PhysicsActor.SetMomentum(vel);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
AddToPhysicalScene(isFlying);
|
AddToPhysicalScene(isFlying);
|
||||||
|
// reset camera to avatar pos
|
||||||
|
CameraPosition = pos;
|
||||||
|
}
|
||||||
|
|
||||||
if (ForceFly)
|
if (ForceFly)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue