The Impact Offset component. Should be applied as a mixin.
- Since: 3.0.0
- Source: src/physics/impact/components/Offset.js (Line 7)
Methods
-
setOffset(x, y [, width] [, height])
-
[description]
Parameters:
Name Type Argument Description x
number [description]
y
number [description]
width
number <optional>
[description]
height
number <optional>
[description]
- Since: 3.0.0
- Source: src/physics/impact/components/Offset.js (Line 16)
Returns:
This Game Object.