v3_displace_in_direction
v3_displace_in_direction(result, distance, origin_x, source_y, source_z, direction_x, direction_y, direction_z) ⇒ boolean
Kind: global function
Returns: boolean
- true if displaced successfully, false if direction had 0 magnitude
Param | Type |
---|---|
result | Vector3 |
distance | number |
origin_x | number |
source_y | number |
source_z | number |
direction_x | number |
direction_y | number |
direction_z | number |