Keep IsColliding updated for the recent changes in ScenePresence so that walk/stand animations will get used instead of just falling

0.6.5-rc1
idb 2009-04-19 12:28:29 +00:00
parent 03901c8c0d
commit 716e1fe0e1
1 changed files with 3 additions and 0 deletions

View File

@ -164,16 +164,19 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
{
actor.Position.Z = height;
actor.Velocity.Z = 0;
actor.IsColliding = true;
}
else
{
actor.Position.Z += actor.Velocity.Z*timeStep;
actor.IsColliding = false;
}
}
else
{
actor.Position.Z = height;
actor.Velocity.Z = 0;
actor.IsColliding = true;
}
}
return fps;