aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletDotNETPlugin/BulletDotNETPluginStructs.cs
blob: 26517dc47f98e4786c9aba8ac79f754eab4a2f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;

public enum StatusIndicators : int
{
    Generic = 0,
    Start = 1,
    End = 2
}

public struct sCollisionData
{
    public uint ColliderLocalId;
    public uint CollidedWithLocalId;
    public int NumberOfCollisions;
    public int CollisionType;
    public int StatusIndicator;
    public int lastframe;
}

[Flags]
public enum CollisionCategories : int
{
    Disabled = 0,
    Geom = 0x00000001,
    Body = 0x00000002,
    Space = 0x00000004,
    Character = 0x00000008,
    Land = 0x00000010,
    Water = 0x00000020,
    Wind = 0x00000040,
    Sensor = 0x00000080,
    Selected = 0x00000100
}