self:set_position
Client
Sets the local position of the vehicle wheel
Syntax
local status = self:set_position(
position
)Parameters
| Type | Name | Description |
|---|---|---|
vector3 | position | Position to apply as {x, y, z} |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = physics.vehicle_wheel.create()
entity:set_position({0, 5, 0})