aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorKitto Flora2010-01-21 19:31:02 -0500
committerKitto Flora2010-01-21 19:31:02 -0500
commit1abb70cc73c997c08a416fecf689b83453f853d0 (patch)
tree1b8afb44aa5c280f28b0fc9b00486cd43b7dd1a2 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentChODE Object Linear Motion update (diff)
downloadopensim-SC_OLD-1abb70cc73c997c08a416fecf689b83453f853d0.zip
opensim-SC_OLD-1abb70cc73c997c08a416fecf689b83453f853d0.tar.gz
opensim-SC_OLD-1abb70cc73c997c08a416fecf689b83453f853d0.tar.bz2
opensim-SC_OLD-1abb70cc73c997c08a416fecf689b83453f853d0.tar.xz
Add glue for llSetVehicleFlags(), llRemoveVehicleFlags(). ChODE: Add associated methods.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 4c97467..04be9fc 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2963,7 +2963,23 @@ namespace OpenSim.Region.Framework.Scenes
2963 PhysActor.VehicleRotationParam(param, rotation); 2963 PhysActor.VehicleRotationParam(param, rotation);
2964 } 2964 }
2965 } 2965 }
2966 2966
2967 public void SetVehicleFlags(int flags)
2968 {
2969 if (PhysActor != null)
2970 {
2971 PhysActor.VehicleFlagsSet(flags);
2972 }
2973 }
2974
2975 public void RemoveVehicleFlags(int flags)
2976 {
2977 if (PhysActor != null)
2978 {
2979 PhysActor.VehicleFlagsRemove(flags);
2980 }
2981 }
2982
2967 public void SetGroup(UUID groupID, IClientAPI client) 2983 public void SetGroup(UUID groupID, IClientAPI client)
2968 { 2984 {
2969 _groupID = groupID; 2985 _groupID = groupID;