pullBoxTowardsPoint
pullBoxTowardsPoint(box, targetX, targetY, strength)
Kind: global function
Param | Type | Description |
---|---|---|
box | AABB2 | |
targetX | number | target point X coordinate |
targetY | number | target point Y coordinate |
strength | number |
Kind: global function
Param | Type | Description |
---|---|---|
box | AABB2 | |
targetX | number | target point X coordinate |
targetY | number | target point Y coordinate |
strength | number |