Method
setStatic
(renderable: Renderable, isStatic: boolean)
Source from the content-addressed store, hash-verified
| 705 | // ------------------------------------------------------------------- |
| 706 | |
| 707 | setStatic(renderable: Renderable, isStatic: boolean): void { |
| 708 | const body = this.bodyMap.get(renderable); |
| 709 | if (body) { |
| 710 | body.setType(isStatic ? "static" : "dynamic"); |
| 711 | } |
| 712 | } |
| 713 | |
| 714 | setGravityScale(renderable: Renderable, scale: number): void { |
| 715 | const body = this.bodyMap.get(renderable); |
Callers
nothing calls this directly
Tested by
no test coverage detected