mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Add glue for llSetVehicleFlags(), llRemoveVehicleFlags(). ChODE: Add associated methods.
This commit is contained in:
@@ -733,7 +733,17 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void VehicleFlagsSet(int flags)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void VehicleFlagsRemove(int flags)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void SetVolumeDetect(int param)
|
||||
{
|
||||
|
||||
|
||||
@@ -286,7 +286,17 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
}
|
||||
|
||||
}//end ProcessRotationVehicleParam
|
||||
|
||||
internal void ProcessFlagsVehicleSet(int flags)
|
||||
{
|
||||
m_flags |= (VehicleFlag)flags;
|
||||
}
|
||||
|
||||
internal void ProcessFlagsVehicleRemove(int flags)
|
||||
{
|
||||
m_flags &= ~((VehicleFlag)flags);
|
||||
}
|
||||
|
||||
internal void ProcessTypeChange(Vehicle pType)
|
||||
{
|
||||
// Set Defaults For Type
|
||||
|
||||
@@ -2415,7 +2415,17 @@ Console.WriteLine(" JointCreateFixed");
|
||||
{
|
||||
m_vehicle.ProcessRotationVehicleParam((Vehicle) param, rotation);
|
||||
}
|
||||
|
||||
|
||||
public override void VehicleFlagsSet(int flags)
|
||||
{
|
||||
m_vehicle.ProcessFlagsVehicleSet(flags);
|
||||
}
|
||||
|
||||
public override void VehicleFlagsRemove(int flags)
|
||||
{
|
||||
m_vehicle.ProcessFlagsVehicleRemove(flags);
|
||||
}
|
||||
|
||||
public override void SetVolumeDetect(int param)
|
||||
{
|
||||
lock (_parent_scene.OdeLock)
|
||||
|
||||
Reference in New Issue
Block a user