diff options
author | Teravus Ovares | 2008-03-02 09:31:39 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-02 09:31:39 +0000 |
commit | 0a5c48b1c820d0899ffb130c9bf0a59b04bc9099 (patch) | |
tree | 9f10684320a6808503ef211d3eeda7fbac5cf086 /OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |
parent | Rename handler020 through handler029 with more (diff) | |
download | opensim-SC-0a5c48b1c820d0899ffb130c9bf0a59b04bc9099.zip opensim-SC-0a5c48b1c820d0899ffb130c9bf0a59b04bc9099.tar.gz opensim-SC-0a5c48b1c820d0899ffb130c9bf0a59b04bc9099.tar.bz2 opensim-SC-0a5c48b1c820d0899ffb130c9bf0a59b04bc9099.tar.xz |
* This is a very icky implementation of physical linkset prim using fixed joints. This will change quite drastically, however it's fun to play with.
* To play with this you must link your prim before setting it physical, otherwise they won't link in the physics engine properly. This will also be fixed.
* Currently the linked prim are extremely unstable because I have yet to implement combining of forces with the same normal. This will also be fixed. In fact, the whole PhysicsActor, ODEPrim relationship will be reworked to consider groups from the get-go.
* This implementation is better then it crashing your sim, so I'm commiting it for now.
Diffstat (limited to 'OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index e3b9ef3..c7ccef3 100644 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -349,7 +349,15 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
349 | get { return true; } | 349 | get { return true; } |
350 | set { } | 350 | set { } |
351 | } | 351 | } |
352 | public override void link(PhysicsActor obj) | ||
353 | { | ||
354 | |||
355 | } | ||
352 | 356 | ||
357 | public override void delink() | ||
358 | { | ||
359 | |||
360 | } | ||
353 | public void SetAcceleration(PhysicsVector accel) | 361 | public void SetAcceleration(PhysicsVector accel) |
354 | { | 362 | { |
355 | _acceleration = accel; | 363 | _acceleration = accel; |