self:set_doppler_tracking

Client

Sets the camera's doppler tracking mode


Syntax

local status = self:set_doppler_tracking(
    mode
)

Parameters

TypeNameDescription
core.camera.doppler_trackingmodeDoppler tracking mode to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Enable physics-step doppler tracking
local entity = core.camera.create()

entity:set_doppler_tracking(core.camera.doppler_tracking.PHYSICS_STEP)

On this page