Heightfields with negative values will fire face normal errors
See original GitHub issueTo reproduce, change all heightfield data points in the heightfield.html
demo to -5. You will see 1,000+ errors thrown from ConvexPolyhedron
when computing convex triangle pillars.
This was also an issue from 2014: https://github.com/schteppe/cannon.js/issues/149
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
HeightField geometry node - SideFX
The height volume is a 2D grid of values representing the distance of the terrain at each point on the map from the...
Read more >fitting a distribution to skewed data with negative values
One solution to this problem would be to transform my data by adding a constant so that all negative values become positive, and...
Read more >Mesh Distance Fields | Unreal Engine 4.27 Documentation
The Mesh Distance Field quality will be best for levels that are built out of meshes with similar size, as large meshes tend...
Read more >HoudiniDops - cgwiki
Remember that a sim is all about calculating based on the results of the ... Give it a high velocity on its normal,...
Read more >Trimble Survey Controller User Guide - NGS
messages, and common error and warning messages. ... Enter a negative value if magnetic north is west of true north. Enter a ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the issue, which stems from the convex triangle pillar being upside down when the heightfield has a negative value. Will send a PR in the next few minutes.
Absolutely, we welcome any further contributions 👍