Declaration
func IsSleeping(target entity<Rigidbody>) bool
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Target | Rigidbody | Target Rigidbody |
Return
| Type | Description |
|---|---|
| Bool | Is in sleep state or not |
Check if the target rigidbody is in sleep state
func IsSleeping(target entity<Rigidbody>) bool
go
| Name | Type | Description |
|---|---|---|
| Target | Rigidbody | Target Rigidbody |
| Type | Description |
|---|---|
| Bool | Is in sleep state or not |