Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cling is invalid #225

Open
yuyuyu223 opened this issue Jul 2, 2023 · 1 comment
Open

cling is invalid #225

yuyuyu223 opened this issue Jul 2, 2023 · 1 comment

Comments

@yuyuyu223
Copy link

cling: If True, the z-coordinate of the vehicle's position will be set to the ground level at the given
           position to avoid spawning the vehicle below ground or in the air.

Although cling=True, the cars still fly on the sky or flow in the water

image

I think the z-axis value does not set to the ground level.

  1. How can I get the ground level of each map?
  2. Is the cling a bug?
@dstark481
Copy link
Contributor

Hello,
There is a problem with cling, unfortunately. We are looking into it. You can press F11 and go into the 'world editor'. From there, you can find the world coordinates of everything in the map. On the left, you can see the 'scene tree' where everything is, or you can click on things which you are interested in. When you get the z-coordinate of the ground, you can try setting the vehicle to take the position (or maybe eg 0.5m above it).
p1

Best regards,
BeamNG Tech Team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants