Vehicle::velocity: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
This property using for getting | This property using for getting vehicle velocity. | ||
''' | ==Getter== | ||
* '''<span style="color:#008017">Vector3</span>''' | |||
== Example == | == Example == | ||
< | <div class="header" style="background-color: #408DAE; color: #FFFFFF; border: 2px solid #408DAE;"> | ||
<div style="margin: 10px 10px 10px 10px;"><b>Server-Side</b></div> | |||
<syntaxhighlight lang="javascript"> | |||
let velocity = vehicle.velocity | let velocity = vehicle.velocity | ||
console.log(velocity.x, velocity.y, velocity.z) | console.log(velocity.x, velocity.y, velocity.z) | ||
</ | </syntaxhighlight> | ||
</div> | |||
==See Also== | |||
{{Vehicle_block}} | |||
Revision as of 15:31, 7 September 2017
This property using for getting vehicle velocity.
Getter
- Vector3
Example
Server-Side
let velocity = vehicle.velocity
console.log(velocity.x, velocity.y, velocity.z)