diff options
author | Robert Adams | 2013-02-07 11:05:21 -0800 |
---|---|---|
committer | Robert Adams | 2013-02-07 11:10:15 -0800 |
commit | c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a (patch) | |
tree | c85b468e508353c09eacd391f2ac842ec77112d5 /OpenSim/Region/Physics | |
parent | Change passed PhysicsParameter value from float to the more general string value (diff) | |
download | opensim-SC_OLD-c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a.zip opensim-SC_OLD-c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a.tar.gz opensim-SC_OLD-c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a.tar.bz2 opensim-SC_OLD-c658fa1c0dd83f23c66ccfedb12e8ab02ff01d0a.tar.xz |
Add plumbing for physics properties to get to the physics engine.
Addition of entries to PhysicsActor and setting code in SceneObjectPart.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index d119791..4820ca4 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -235,6 +235,11 @@ namespace OpenSim.Region.Physics.Manager | |||
235 | public abstract float Mass { get; } | 235 | public abstract float Mass { get; } |
236 | public abstract Vector3 Force { get; set; } | 236 | public abstract Vector3 Force { get; set; } |
237 | 237 | ||
238 | public virtual float Density { get; set; } | ||
239 | public virtual float Friction { get; set; } | ||
240 | public virtual float Restitution { get; set; } | ||
241 | public virtual float GravityModifier { get; set; } | ||
242 | |||
238 | public abstract int VehicleType { get; set; } | 243 | public abstract int VehicleType { get; set; } |
239 | public abstract void VehicleFloatParam(int param, float value); | 244 | public abstract void VehicleFloatParam(int param, float value); |
240 | public abstract void VehicleVectorParam(int param, Vector3 value); | 245 | public abstract void VehicleVectorParam(int param, Vector3 value); |