Merge branch 'ubitwork' into avination
commit
1d75220fcc
|
@ -3252,9 +3252,9 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void changeAddImpulse(Vector3 impulse)
|
private void changeAddForce(Vector3 theforce)
|
||||||
{
|
{
|
||||||
m_forceacc += impulse *m_invTimeStep;
|
m_forceacc += theforce;
|
||||||
if (!m_isSelected)
|
if (!m_isSelected)
|
||||||
{
|
{
|
||||||
lock (this)
|
lock (this)
|
||||||
|
@ -3960,7 +3960,7 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case changes.AddForce:
|
case changes.AddForce:
|
||||||
changeAddImpulse((Vector3)arg);
|
changeAddForce((Vector3)arg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case changes.AddAngForce:
|
case changes.AddAngForce:
|
||||||
|
|
Loading…
Reference in New Issue