Skip to content

Teleporting vehicles should allow setting cling as spawn does #304

@alessiogambi

Description

@alessiogambi

Currently, the method to teleport vehicles requires an absolute position. If the z-value is not correctly specified, the vehicle might end up "in" the ground. It would be useful to have a cling option to set the z-value, like the spawn method.

It is challenging to define an appropriate behavior considering that the vehicles are also rotated and the roads are not flat. In those cases, the "correct" value of z is not easily defined. Alternatively, one could specify only the 2D coordinates and orientation and let BeamNG figure out how to "rotate" the vehicle in 3D to place it on the terrain/road

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions