aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/POSPlugin
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-02 09:31:39 +0000
committerTeravus Ovares2008-03-02 09:31:39 +0000
commit0a5c48b1c820d0899ffb130c9bf0a59b04bc9099 (patch)
tree9f10684320a6808503ef211d3eeda7fbac5cf086 /OpenSim/Region/Physics/POSPlugin
parentRename handler020 through handler029 with more (diff)
downloadopensim-SC_OLD-0a5c48b1c820d0899ffb130c9bf0a59b04bc9099.zip
opensim-SC_OLD-0a5c48b1c820d0899ffb130c9bf0a59b04bc9099.tar.gz
opensim-SC_OLD-0a5c48b1c820d0899ffb130c9bf0a59b04bc9099.tar.bz2
opensim-SC_OLD-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/POSPlugin')
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSPlugin.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs b/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs
index 9d70ac8..ac63a12 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs
@@ -477,7 +477,15 @@ namespace OpenSim.Region.Physics.POSPlugin
477 get { return true; } 477 get { return true; }
478 set { } 478 set { }
479 } 479 }
480 public override void link(PhysicsActor obj)
481 {
482
483 }
480 484
485 public override void delink()
486 {
487
488 }
481 public void SetAcceleration(PhysicsVector accel) 489 public void SetAcceleration(PhysicsVector accel)
482 { 490 {
483 _acceleration = accel; 491 _acceleration = accel;
@@ -659,7 +667,15 @@ namespace OpenSim.Region.Physics.POSPlugin
659 { 667 {
660 set { return; } 668 set { return; }
661 } 669 }
670 public override void link(PhysicsActor obj)
671 {
672
673 }
662 674
675 public override void delink()
676 {
677
678 }
663 public override bool Selected 679 public override bool Selected
664 { 680 {
665 set { return; } 681 set { return; }