prevent spurius acceleration values

0.9.1.0-post-fixes
UbitUmarov 2019-03-19 13:00:11 +00:00
parent c521ff394e
commit af35882eda
1 changed files with 1 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ namespace OpenSim.Region.Framework.Scenes
get
{
PhysicsActor actor = PhysActor;
if (actor != null)
if (actor != null && actor.IsPhysical)
{
m_acceleration = actor.Acceleration;
}