Skip to content

physics.teleportCarTo teleport car under the map #6

@cofeek-codes

Description

@cofeek-codes

I am writing a lua app in which i have this piece of code:

ac.onConsoleInput(function(msg)
    if msg == 'tp' then
     physics.teleportCarTo(ac.SpawnSet.Pits)
  end
end)

when i am executing tp command car appears under the map.
tested on 2 maps (highlands and tsukuba)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions