mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
add isSensor property to Body (#29339)
This commit is contained in:
Vendored
+8
@@ -882,6 +882,14 @@ declare namespace Matter {
|
||||
* @default false
|
||||
*/
|
||||
isStatic: boolean;
|
||||
/**
|
||||
* A flag that indicates whether a body is a sensor. Sensor triggers collision events, but doesn't react with colliding body physically.
|
||||
*
|
||||
* @property isSensor
|
||||
* @type boolean
|
||||
* @default false
|
||||
*/
|
||||
isSensor: boolean;
|
||||
/**
|
||||
* An arbitrary `String` name to help the user identify and manage bodies.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user