Kochol Game Engine
0.1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
physicType.h
Go to the documentation of this file.
1
#ifndef KGE_PHYSIC_TYPE_H
2
#define KGE_PHYSIC_TYPE_H
3
4
#define PHYSIC_ENABLE_DEBUG 1
5
6
namespace
kge
7
{
8
namespace
ph
9
{
10
//*******************************
11
enum
CollitionType
12
{
13
ECTP_TRIGGER_DISABLE
= 0,
14
ECTP_TRIGGER_ON_ENTER
= (1<<0),
15
ECTP_TRIGGER_ON_LEAVE
= (1<<1),
16
ECTP_TRIGGER_ON_STAY
= (1<<2),
17
ECTP_TRIGGER_ALL
= (
ECTP_TRIGGER_ON_ENTER
|
ECTP_TRIGGER_ON_LEAVE
|
ECTP_TRIGGER_ON_STAY
)
18
};
// CollitionType
19
20
enum
BodyFlag
21
{
22
EBFP_NORMAL
= 0,
23
EBFP_DISABLE_GRAVITY
= (1<<0),
24
EBFP_FROZEN_POS_X
= (1<<1),
25
EBFP_FROZEN_POS_Y
= (1<<2),
26
EBFP_FROZEN_POS_Z
= (1<<3),
27
EBFP_FROZEN_ROT_X
= (1<<4),
28
EBFP_FROZEN_ROT_Y
= (1<<5),
29
EBFP_FROZEN_ROT_Z
= (1<<6),
30
EBFP_FROZEN_POS
=
EBFP_FROZEN_POS_X
|
EBFP_FROZEN_POS_Y
|
EBFP_FROZEN_POS_Z
,
31
EBFP_FROZEN_ROT
=
EBFP_FROZEN_ROT_X
|
EBFP_FROZEN_ROT_Y
|
EBFP_FROZEN_ROT_Z
,
32
EBFP_FROZEN
=
EBFP_FROZEN_POS
|
EBFP_FROZEN_ROT
,
33
EBFP_KINEMATIC
= (1<<7),
34
EBFP_VISUALIZATION
= (1<<8),
35
EBFP_DUMMY_0
= (1<<9),
36
EBFP_FILTER_SLEEP_VEL
= (1<<10),
37
EBFP_ENERGY_SLEEP_TEST
= (1<<11)
38
};
39
//*******************************
40
enum
PhysicsEngineType
41
{
42
EPET_PhysX
= 0,
43
44
EPET_Count
45
46
};
// PhysicsEngineType
47
//*******************************
48
enum
ActorType
49
{
50
EATP_DYNAMIC
,
51
EATP_STATIC
,
52
EATP_TRIGGER
,
53
EATP_KINEMATIC
54
};
// ActorType
55
//*******************************
56
enum
JointType
57
{
58
EJTP_SPHERICAL
,
59
EJTP_REVOLUTE
,
60
EJTP_PRISMATIC
,
61
EJTP_CYLINDRICAL
,
62
EJTP_FIXED
,
63
EJTP_DISTANCE
,
64
EJTP_POINT_IN_PLANE
,
65
EJTP_POINT_IN_LINE
,
66
EJTP_PULLEY
67
};
// JointType
68
//*******************************
69
enum
DistanceJointFlag
70
{
71
EDJF_DISABLE
= 0,
72
EDJF_MAX_DISTANCE_ENABLED
= 1 << 0,
73
//brief true if the joint enforces the minimum separate distance.
74
EDJF_MIN_DISTANCE_ENABLED
= 1 << 1,
75
//brief true if the spring is enabled
76
EDJF_MIN_MAX_ENABLE
=
EDJF_MAX_DISTANCE_ENABLED
|
EDJF_MIN_DISTANCE_ENABLED
,
77
EDJF_SPRING_ENABLED
= 1 << 2
78
};
// DstanceJointFlag
79
80
}
// ph
81
}
// kge
82
83
#endif // KGE_PHYSIC_TYPE_H
E:
mycodes
git
kge
Include
ph
physicType.h
Generated on Mon Jan 6 2014 16:02:54 for Kochol Game Engine by
1.8.1.2