0 votes

I am doing a tutorial for a 3D game of cars driving through a city. The apart from a blank road surface level tile all the tiles have a lower road surface and an upper pavement surface.

My problem is that traffic cones and fire hydrants are all sunk half-way into either surface causing problems when my car hits them. With the cylindrical collision shape enclosing all of the mesh when my car hits these objects they drop down out of sight. If I raise the collision shape half way or so up the mesh the cones pop up onto the surface if I pass near them. If I hit the cones they get knocked around onto the road or pavement surface, but they don't fly around like they would if they were resting on the surface as they should be doing. Why isn't the collision happening on the upper surfaces from the start? The fire hydrants are distributed the same way, but I can't hit them because the game freezes instantly at the start. Your help appreciated.

in Engine by (28 points)

I fixed the fire hydrant freeze problem. I just have a similar problem to the cones in that they are half way down into the road or the pavement, which affects their reaction to the car hitting them. I had found the lifting the mesh up further doesn't make any difference.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.