diff options
author | Kitto Flora | 2010-01-21 19:31:02 -0500 |
---|---|---|
committer | Kitto Flora | 2010-01-21 19:31:02 -0500 |
commit | 1abb70cc73c997c08a416fecf689b83453f853d0 (patch) | |
tree | 1b8afb44aa5c280f28b0fc9b00486cd43b7dd1a2 /OpenSim/Region/Framework/Scenes | |
parent | ChODE Object Linear Motion update (diff) | |
download | opensim-SC-1abb70cc73c997c08a416fecf689b83453f853d0.zip opensim-SC-1abb70cc73c997c08a416fecf689b83453f853d0.tar.gz opensim-SC-1abb70cc73c997c08a416fecf689b83453f853d0.tar.bz2 opensim-SC-1abb70cc73c997c08a416fecf689b83453f853d0.tar.xz |
Add glue for llSetVehicleFlags(), llRemoveVehicleFlags(). ChODE: Add associated methods.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 18 |
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; |