diff options
author | Robert Adams | 2012-12-29 18:34:46 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-31 19:57:21 -0800 |
commit | 203588e3c0374505a6aa564d8f7a655d968653d7 (patch) | |
tree | 8c4baba73e84f42bbedaca64d5e2ba33bb4e8aa9 /OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs | |
parent | Resolve Mantis 6480 (http://opensimulator.org/mantis/view.php?id=6480) (diff) | |
download | opensim-SC-203588e3c0374505a6aa564d8f7a655d968653d7.zip opensim-SC-203588e3c0374505a6aa564d8f7a655d968653d7.tar.gz opensim-SC-203588e3c0374505a6aa564d8f7a655d968653d7.tar.bz2 opensim-SC-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-x | OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs | 5 |
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 | ||