mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
mantis 8634: add osSetSitActiveRange(float range) , osSetStandTarget(vector feetAproxPosition) and respective get functions. range <0 disables sits on the prim, = 0 uses region default,feetAproxPosition is in prim local frame. <0,0,0> disables it. Still no persistance. feedback required!
This commit is contained in:
@@ -1421,5 +1421,26 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
{
|
||||
return m_OSSL_Functions.osIsNotValidNumber(v);
|
||||
}
|
||||
|
||||
public void osSetSitActiveRange(LSL_Float v)
|
||||
{
|
||||
m_OSSL_Functions.osSetSitActiveRange(v);
|
||||
}
|
||||
|
||||
public LSL_Float osGetSitActiveRange()
|
||||
{
|
||||
return m_OSSL_Functions.osGetSitActiveRange();
|
||||
}
|
||||
|
||||
public void osSetStandTarget(vector v)
|
||||
{
|
||||
m_OSSL_Functions.osSetStandTarget(v);
|
||||
}
|
||||
|
||||
public vector osGetStandTarget()
|
||||
|
||||
{
|
||||
return m_OSSL_Functions.osGetStandTarget();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user