compile error: bullet.CompoundShape has no field calculateLocalInertia
See original GitHub issueHi. I tried to compile this project: https://github.com/armory3d/armory_templates/tree/master/vehicle
and got these errors:
I also used VehicleBody
trait in a new simple “car project” and got the same error.
Here is the export settings:
System Blender: 2.82 Armory: 2020.6 OS: Windows 10 Graphics card: 1070ti
edit: simple car project files: SimpleCar.zip
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (10 by maintainers)
Top Results From Across the Web
How do I use Ammo.btCompoundShape (JavaScript port of ...
I assume I did something wrong with the Ammo.btCompoundShape. There are no errors. What's the correct way? javascript · bullet · ammo.js.
Read more >btCollisionShape unresolved externals - Real-Time Physics ...
Currently trying to compile https://bitbucket.org/sirbrialliance/raytrace this OpenCL raytracer which uses Bullet for some simple physics.
Read more >siconos.mechanics.collision.bullet - Université Grenoble Alpes
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape, btConvexHullShape etc. It describes general convex shapes ...
Read more >calculateLocalInertia seems to have no effect · Issue #7 - GitHub
This sample works fine with ammo.js and with older haxebullet versions, but on a latest version native build LocalInertia doesn't change at ...
Read more >Merge branch 'bullet2-master' · 9e9b172b23 - bullet3 - Macoy's Code
Bullet Physics Library is an open source project with help from the ... In no event will the authors be held liable for...
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
@luboslenco the problem is, how to add that? It looks like static vars are not supported in Hashlink WebIDL — and, for worst, that aren’t really class constants in Bullet, just defines → https://pybullet.org/Bullet/BulletFull/btCollisionObject_8h_source.html (l. 22~26).
In Krom/js, with Ammo, they work because Haxe itself allows to define static inline vars in extern classes that will the replaced at compile time.
But I don’t know how to do the same with the Hashlink version.
One possible solution would be to create a
CollisionObjectActivationState
enum with the right values, for example — that would work across all possible targets, it’s just anint
. What do you think? We could even keep the Ammo static vars for backwards compatibility without conflicts.@MoritzBrueckner I’ve added a pull request updating that file → https://github.com/armory3d/armory_templates/pull/7