diff options
author | Charles Krinke | 2008-09-28 22:38:59 +0000 |
---|---|---|
committer | Charles Krinke | 2008-09-28 22:38:59 +0000 |
commit | 6758ecc40375fb046f142f5f45a19513a89b1f86 (patch) | |
tree | ad96c1b2674d2124952ca63e4ec60a2703ed7945 /OpenSim/Region/Physics/Manager/PhysicsActor.cs | |
parent | Mantis#2291. Thank you kindly, StrawberryFride for a patch that solves: (diff) | |
download | opensim-SC_OLD-6758ecc40375fb046f142f5f45a19513a89b1f86.zip opensim-SC_OLD-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.gz opensim-SC_OLD-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.bz2 opensim-SC_OLD-6758ecc40375fb046f142f5f45a19513a89b1f86.tar.xz |
Implement the plumbing for llSetVehicleType from the LSL
subroutine down through the physics modules through PhysActor
and SceneObjectPart. No connection to the physics simulators.
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
175 | public abstract float Mass { get; } | 175 | public abstract float Mass { get; } |
176 | public abstract PhysicsVector Force { get; set; } | 176 | public abstract PhysicsVector Force { get; set; } |
177 | 177 | ||
178 | public abstract int VehicleType { get; set; } | ||
178 | public abstract void VehicleFloatParam(int param, float value); | 179 | public abstract void VehicleFloatParam(int param, float value); |
179 | public abstract void VehicleVectorParam(int param, PhysicsVector value); | 180 | public abstract void VehicleVectorParam(int param, PhysicsVector value); |
180 | public abstract void VehicleRotationParam(int param, Quaternion rotation); | 181 | public abstract void VehicleRotationParam(int param, Quaternion rotation); |
@@ -281,6 +282,12 @@ namespace OpenSim.Region.Physics.Manager | |||
281 | set { return; } | 282 | set { return; } |
282 | } | 283 | } |
283 | 284 | ||
285 | public override int VehicleType | ||
286 | { | ||
287 | get { return 0; } | ||
288 | set { return; } | ||
289 | } | ||
290 | |||
284 | public override void VehicleFloatParam(int param, float value) | 291 | public override void VehicleFloatParam(int param, float value) |
285 | { | 292 | { |
286 | 293 | ||