Fix Mantis#2878 for now by not resetting physical values on rez (only on switch).
We still might have to split the rotational velocities into a physical and a non-physical part...0.6.1-post-fixes
parent
8f07f2e8b0
commit
84b43c8c23
|
@ -1425,7 +1425,7 @@ if (m_shape != null) {
|
||||||
PhysActor.delink();
|
PhysActor.delink();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!UsePhysics)
|
if (!UsePhysics && !isNew)
|
||||||
{
|
{
|
||||||
// reset velocity to 0 on physics switch-off. Without that, the client thinks the
|
// reset velocity to 0 on physics switch-off. Without that, the client thinks the
|
||||||
// prim still has velocity and continues to interpolate its position along the old
|
// prim still has velocity and continues to interpolate its position along the old
|
||||||
|
|
Loading…
Reference in New Issue