aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
diff options
context:
space:
mode:
authorRobert Adams2012-12-29 18:34:46 -0800
committerRobert Adams2012-12-31 19:57:21 -0800
commit203588e3c0374505a6aa564d8f7a655d968653d7 (patch)
tree8c4baba73e84f42bbedaca64d5e2ba33bb4e8aa9 /OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
parentResolve Mantis 6480 (http://opensimulator.org/mantis/view.php?id=6480) (diff)
downloadopensim-SC_OLD-203588e3c0374505a6aa564d8f7a655d968653d7.zip
opensim-SC_OLD-203588e3c0374505a6aa564d8f7a655d968653d7.tar.gz
opensim-SC_OLD-203588e3c0374505a6aa564d8f7a655d968653d7.tar.bz2
opensim-SC_OLD-203588e3c0374505a6aa564d8f7a655d968653d7.tar.xz
BulletSim: change physical data structures to classes. Add default
instantiations for PhysBody and PhysShape when BSPhysObject is created to account for them being classes and not structures. Update TODO list.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
index 73b5764..b093890 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
@@ -67,6 +67,11 @@ public abstract class BSPhysObject : PhysicsActor
67 PhysObjectName = name; 67 PhysObjectName = name;
68 TypeName = typeName; 68 TypeName = typeName;
69 69
70 // We don't have any physical representation yet.
71 PhysBody = new BulletBody(localID);
72 PhysShape = new BulletShape();
73
74 // A linkset of just me
70 Linkset = BSLinkset.Factory(PhysicsScene, this); 75 Linkset = BSLinkset.Factory(PhysicsScene, this);
71 LastAssetBuildFailed = false; 76 LastAssetBuildFailed = false;
72 77