blob: 24415a14681e4b4a01a20f945c31f8c33025bd04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
208,227d207
< /******************** breakable joint contribution ***********************/
< /* joint break callback function */
< typedef void dJointBreakCallback (dJointID joint);
<
< /* joint break modes */
< enum {
< // if this flag is set, the joint wil break
< dJOINT_BROKEN = 0x0001,
< // if this flag is set, the joint wil be deleted when it breaks
< dJOINT_DELETE_ON_BREAK = 0x0002,
< // if this flag is set, the joint can break at a certain force on body 1
< dJOINT_BREAK_AT_B1_FORCE = 0x0004,
< // if this flag is set, the joint can break at a certain torque on body 1
< dJOINT_BREAK_AT_B1_TORQUE = 0x0008,
< // if this flag is set, the joint can break at a certain force on body 2
< dJOINT_BREAK_AT_B2_FORCE = 0x0010,
< // if this flag is set, the joint can break at a certain torque on body 2
< dJOINT_BREAK_AT_B2_TORQUE = 0x0020
< };
< /*************************************************************************/
|