To enable auto-completion and hints in code editors such as VScode, create a `*.pyi` file. This feature is compatible with `python 3.9` and later versions.
* fixed typos and broken links
* updated python_api.md
* fixed CityObjectLabel API docs
* added load_world_if_different to API docs
* added return type to reload_world
* updated python_api.md
* added FutureActor to API docs
* fixed typos and broken links
* updated python_api.md
* fixed CityObjectLabel API docs
* added load_world_if_different to API docs
* added return type to reload_world
* updated python_api.md
* Extended debug draw functions to allow drawing primitives on HUD layer
* Added documentation for new drawing features
* Added debug draw changes to changelog
---------
Co-authored-by: Olli <olli.koskelainen@tuni.fi>
* Added new function to obtain the name of all actor sockets
* Updating CHANGELOG.md
* Simplifying code of get_actor_socket_names function
---------
Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
* Bugfix for empty vehicle_list
Bug description: When an empty list is passed this fills the list with all vehicles; this is not intended.
1) This does not allow to pass an empty list, e.g. if no vehicles are nearby.
2) On a map without pedestrians, this code is also used with an empty list which then detects cars as pedestrians.
* Update CHANGELOG.md with agent bugfix note
---------
Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
* Add actor component getters to the PythonAPI
Adds functions:
- get_component_world_transform
- get_component_relative_transform
to the Python API to acces the transform of actor components by name
* Update changelog for get-transform-component changes
* Adding getters for receive bone names and transforms
* Corrections
* Correcting Python API function definitions to make them able to return lists
* Improving the code of get_actor_bone_world_transforms
* Adding getters to obtain socket transforms
* Updating CHANGELOG.md
* Deleting .ignore
* Updating Util/BuildTools/Setup.sh
* Correcting Setup.sh
---------
Co-authored-by: Aperiss <perissanchezantonio@gmail.com>
Co-authored-by: Blyron <53337103+Blyron@users.noreply.github.com>
Adds functions:
- get_component_world_transform
- get_component_relative_transform
to the Python API to acces the transform of actor components by name