diff options
author | Teravus Ovares | 2008-03-10 05:56:58 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-10 05:56:58 +0000 |
commit | d0123a796b0066a50914c6fae5d86550dcf58636 (patch) | |
tree | 5e7a5091afffc219c96c7649c4b2535215faf8e5 /OpenSim/Region/Physics/Manager/PhysicsActor.cs | |
parent | * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim. (diff) | |
download | opensim-SC_OLD-d0123a796b0066a50914c6fae5d86550dcf58636.zip opensim-SC_OLD-d0123a796b0066a50914c6fae5d86550dcf58636.tar.gz opensim-SC_OLD-d0123a796b0066a50914c6fae5d86550dcf58636.tar.bz2 opensim-SC_OLD-d0123a796b0066a50914c6fae5d86550dcf58636.tar.xz |
ODEPlugin
* Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level.
* osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE);
* By default, prim do not float at the water level.
* More work is needed on the floating, but it's a start.
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index 82b7450..2a35d43 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -204,6 +204,8 @@ namespace OpenSim.Region.Physics.Manager | |||
204 | public abstract bool CollidingGround { get; set; } | 204 | public abstract bool CollidingGround { get; set; } |
205 | public abstract bool CollidingObj { get; set; } | 205 | public abstract bool CollidingObj { get; set; } |
206 | 206 | ||
207 | public abstract bool FloatOnWater { set; } | ||
208 | |||
207 | public abstract PhysicsVector RotationalVelocity { get; set; } | 209 | public abstract PhysicsVector RotationalVelocity { get; set; } |
208 | 210 | ||
209 | public abstract bool Kinematic { get; set; } | 211 | public abstract bool Kinematic { get; set; } |
@@ -256,6 +258,12 @@ namespace OpenSim.Region.Physics.Manager | |||
256 | set { return; } | 258 | set { return; } |
257 | } | 259 | } |
258 | 260 | ||
261 | public override bool FloatOnWater | ||
262 | { | ||
263 | set { return; } | ||
264 | } | ||
265 | |||
266 | |||
259 | public override bool CollidingGround | 267 | public override bool CollidingGround |
260 | { | 268 | { |
261 | get { return false; } | 269 | get { return false; } |