self:set_doppler_tracking
Client
Sets the camera's doppler tracking mode
Syntax
local status = self:set_doppler_tracking(
mode
)Parameters
| Type | Name | Description |
|---|---|---|
core.camera.doppler_tracking | mode | Doppler tracking mode to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.camera.create()
entity:set_doppler_tracking(core.camera.doppler_tracking.PHYSICS_STEP)