prevent spurius acceleration values
parent
c521ff394e
commit
af35882eda
|
@ -1001,7 +1001,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
PhysicsActor actor = PhysActor;
|
PhysicsActor actor = PhysActor;
|
||||||
if (actor != null)
|
if (actor != null && actor.IsPhysical)
|
||||||
{
|
{
|
||||||
m_acceleration = actor.Acceleration;
|
m_acceleration = actor.Acceleration;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue