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

Trimesh Static bodies generated incorrectly #3947

Closed
Einlander opened this issue Mar 6, 2016 · 3 comments
Closed

Trimesh Static bodies generated incorrectly #3947

Einlander opened this issue Mar 6, 2016 · 3 comments

Comments

@Einlander
Copy link

Operating system or device:
Windows 7

Issue description (what happened, and what was expected):
The [Create Trimesh Static Body] menu option produces incorrect collision meshes. The dae import has the most significant errors. Some of the dae shapes are visually wrong, and are offset from the actuall mesh. The obj import looks like rounding errors.

Obj import trimesh collision

Steps to reproduce:
Files are in the zip.
DAE:

  • Import and open mesh
  • Click the [Create Trimesh Static Body] button on all mesh nodes
  • Add camera and point it at the pole with the sphere on top

Bugs:

  • All collisions objects are on an offset.
  • The sphere shape is square shape

DAE Images

OBJ

  • Click the menu option Import > 3d Mesh
  • Select the obj
  • Select normals, unselect weld vertices.
  • Look at back left or right corner.

Bugs:

  • The ground collision mesh does not extend to exactly the back edges

Obj images:

I don't know if the bugs would accumulate the bigger the level is.

Link to minimal example project (optional but very welcome):
Turn on visible collision shapes. Run the project for easier comparison
trimesh collision bug.zip

@DriNeo
Copy link

DriNeo commented Mar 6, 2016

I hope this issue is the main cause of this: #3845

@capnm
Copy link
Contributor

capnm commented Nov 8, 2017

This is fixed in the current Godot 3 tip:

bildschirmfoto

@akien-mga akien-mga added this to the 3.0 milestone Nov 8, 2017
@akien-mga
Copy link
Member

Thanks for testing, closing.

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

No branches or pull requests

5 participants