forked from barankyle/xr3ngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPhysXDebug.d.ts
More file actions
28 lines (28 loc) · 758 Bytes
/
PhysXDebug.d.ts
File metadata and controls
28 lines (28 loc) · 758 Bytes
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
declare module './PhysX.d.ts' {
declare global {
namespace PhysX {
interface PxShape {
_id: number
_type?: ColliderTypes
_bodyType?: BodyType
_isTrigger?: boolean
_staticFriction?: number
_dynamicFriction?: number
_restitution?: number
_vertices?: number[]
_indices?: number[]
_collisionLayer?: number | string
_collisionMask?: number | string
_contactOffset?: number | string
_restOffset?: number | string
_scale?: { x: number; y: number; z: number }
_debugNeedsUpdate?: boolean
}
interface PxRigidActor {
_shapes: PhysX.PxShape[]
_type: any
_debugNeedsUpdate: boolean
}
}
}
}