Skip to content

physics.teleportCarTo teleport car under the map #6

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions