diff options
author | Melanie | 2012-03-13 22:20:12 +0100 |
---|---|---|
committer | Melanie | 2012-03-13 22:20:12 +0100 |
commit | 838818270785c58d7b2df221b8b94397aa3cdb04 (patch) | |
tree | b695fe9a94e8b1c170c1bb97b6b3873a671e3efa /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |
parent | Hook up the new cap to the SOP changes (diff) | |
download | opensim-SC-838818270785c58d7b2df221b8b94397aa3cdb04.zip opensim-SC-838818270785c58d7b2df221b8b94397aa3cdb04.tar.gz opensim-SC-838818270785c58d7b2df221b8b94397aa3cdb04.tar.bz2 opensim-SC-838818270785c58d7b2df221b8b94397aa3cdb04.tar.xz |
Implement llSetPrimitiveParams for physics shape and material. Add
llSetPhysicsMaterial support.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index a8d1ddb..bf58d13 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -1949,5 +1949,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1949 | { | 1949 | { |
1950 | m_LSL_Functions.llSetKeyframedMotion(frames, options); | 1950 | m_LSL_Functions.llSetKeyframedMotion(frames, options); |
1951 | } | 1951 | } |
1952 | |||
1953 | public void llSetPhysicsMaterial(int material_bits, float material_gravity_modifier, float material_restitution, float material_friction, float material_density) | ||
1954 | { | ||
1955 | m_LSL_Functions.llSetPhysicsMaterial(material_bits, material_gravity_modifier, material_restitution, material_friction, material_density); | ||
1956 | } | ||
1952 | } | 1957 | } |
1953 | } | 1958 | } |