BulletSim: zero velocity when avatar not moving.
This fixes a movement jitter that happens when an avatar is standing on a tilted surface.0.7.6-extended
							parent
							
								
									0bb8415a69
								
							
						
					
					
						commit
						3ba1d5259a
					
				|  | @ -278,6 +278,7 @@ public class BSActorAvatarMove : BSActor | ||||||
|         if (m_controllingPrim.IsStationary) |         if (m_controllingPrim.IsStationary) | ||||||
|         { |         { | ||||||
|             entprop.Position = m_controllingPrim.RawPosition; |             entprop.Position = m_controllingPrim.RawPosition; | ||||||
|  |             entprop.Velocity = OMV.Vector3.Zero; | ||||||
|             m_physicsScene.PE.SetTranslation(m_controllingPrim.PhysBody, entprop.Position, entprop.Rotation); |             m_physicsScene.PE.SetTranslation(m_controllingPrim.PhysBody, entprop.Position, entprop.Rotation); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Robert Adams
						Robert Adams