From 6758ecc40375fb046f142f5f45a19513a89b1f86 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sun, 28 Sep 2008 22:38:59 +0000 Subject: Implement the plumbing for llSetVehicleType from the LSL subroutine down through the physics modules through PhysActor and SceneObjectPart. No connection to the physics simulators. --- OpenSim/Region/Physics/Manager/PhysicsActor.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs') diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 44d4df7..5b51203 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs @@ -175,6 +175,7 @@ namespace OpenSim.Region.Physics.Manager public abstract float Mass { get; } public abstract PhysicsVector Force { get; set; } + public abstract int VehicleType { get; set; } public abstract void VehicleFloatParam(int param, float value); public abstract void VehicleVectorParam(int param, PhysicsVector value); public abstract void VehicleRotationParam(int param, Quaternion rotation); @@ -281,6 +282,12 @@ namespace OpenSim.Region.Physics.Manager set { return; } } + public override int VehicleType + { + get { return 0; } + set { return; } + } + public override void VehicleFloatParam(int param, float value) { -- cgit v1.1