aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs
diff options
context:
space:
mode:
authorTeravus Ovares2009-04-05 08:35:38 +0000
committerTeravus Ovares2009-04-05 08:35:38 +0000
commite592d038430ab994ed65df4f66e0cf5c32af476c (patch)
treefda1471564c4f5d24785df72803668fb117b16c4 /OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs
parentAdded CreateObject(regionhandle, userID, itemID) to post objects that are to ... (diff)
downloadopensim-SC-e592d038430ab994ed65df4f66e0cf5c32af476c.zip
opensim-SC-e592d038430ab994ed65df4f66e0cf5c32af476c.tar.gz
opensim-SC-e592d038430ab994ed65df4f66e0cf5c32af476c.tar.bz2
opensim-SC-e592d038430ab994ed65df4f66e0cf5c32af476c.tar.xz
* Committing what I have on the BulletDotNETPlugin that I have so far.
* It's not ready to try. It doesn't do what you expect in many ways. * It throws errors and prints jibberish on the console * Test it out only if you're brave and you've backed up first. * The opensim.ini line is physics = BulletDotNETPlugin
Diffstat (limited to 'OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs')
-rw-r--r--OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs b/OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs
new file mode 100644
index 0000000..382f445
--- /dev/null
+++ b/OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs
@@ -0,0 +1,33 @@
1using System;
2
3public enum StatusIndicators : int
4{
5 Generic = 0,
6 Start = 1,
7 End = 2
8}
9
10public struct sCollisionData
11{
12 public uint ColliderLocalId;
13 public uint CollidedWithLocalId;
14 public int NumberOfCollisions;
15 public int CollisionType;
16 public int StatusIndicator;
17 public int lastframe;
18}
19
20[Flags]
21public enum CollisionCategories : int
22{
23 Disabled = 0,
24 Geom = 0x00000001,
25 Body = 0x00000002,
26 Space = 0x00000004,
27 Character = 0x00000008,
28 Land = 0x00000010,
29 Water = 0x00000020,
30 Wind = 0x00000040,
31 Sensor = 0x00000080,
32 Selected = 0x00000100
33} \ No newline at end of file