Class: DebugDrawer
Ammo.DebugDrawer
Constructors
Methods
Constructors
constructor
• new DebugDrawer(): DebugDrawer
Returns
Defined in
Methods
drawLine
▸ drawLine(from
, to
, color
): void
Parameters
Name | Type |
---|---|
from | btVector3 |
to | btVector3 |
color | btVector3 |
Returns
void
Defined in
drawContactPoint
▸ drawContactPoint(pointOnB
, normalOnB
, distance
, lifeTime
, color
): void
Parameters
Name | Type |
---|---|
pointOnB | btVector3 |
normalOnB | btVector3 |
distance | number |
lifeTime | number |
color | btVector3 |
Returns
void
Defined in
reportErrorWarning
▸ reportErrorWarning(warningString
): void
Parameters
Name | Type |
---|---|
warningString | string |
Returns
void
Defined in
draw3dText
▸ draw3dText(location
, textString
): void
Parameters
Name | Type |
---|---|
location | btVector3 |
textString | string |
Returns
void
Defined in
setDebugMode
▸ setDebugMode(debugMode
): void
Parameters
Name | Type |
---|---|
debugMode | number |
Returns
void
Defined in
getDebugMode
▸ getDebugMode(): number
Returns
number