Armory: [hl] RigidBody doesn't work if using Covex Hull or Mesh as shape for collisions

Created on 3 Jul 2020  路  3Comments  路  Source: armory3d/armory

Description
RigidBody doesn't work in C targets if using Covex Hull or Mesh as shape for collisions.

To Reproduce
Use some basic setup with a cube resting over a plane. If shape is Covex Hull or Mesh it will work wrong, as if the collisions system where using a very little shape or something like that.

Krom:

cube-good

Linux (Hashlink/C):

cube-weird-position

System
Blender: 2.82.7
Armory: Git version.
OS: Linux Mint 19.2 (linux 4.15.0-101-generic x86_64)
Graphics card: NVIDIA Quadro M2000M 4 GB

bug

Most helpful comment

Hi @Sanva, so I had to use the Kha branch of Armory and copy the latest Kha repo over it to overwrite it.
...and it works now, the bullet physics is acting correctly on Android, with the same behavior as on the html5 JS target.
Nice fix 馃 馃憤
Not sure how often it is updated, but the repo of Kha for Armory should be updated for the next monthly packaged download @luboslenco

Nice work!

All 3 comments

Hi @Sanva thanks for mentioning it.
When I have some time I will check your Kha repo and do some new tests on Android.
Thank yo[u

Hi @Sanva, so I had to use the Kha branch of Armory and copy the latest Kha repo over it to overwrite it.
...and it works now, the bullet physics is acting correctly on Android, with the same behavior as on the html5 JS target.
Nice fix 馃 馃憤
Not sure how often it is updated, but the repo of Kha for Armory should be updated for the next monthly packaged download @luboslenco

Nice work!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

e1e5en-gd picture e1e5en-gd  路  3Comments

Amir-Arsalan picture Amir-Arsalan  路  4Comments

BrahRah picture BrahRah  路  3Comments

donalffons picture donalffons  路  4Comments

HeadClot picture HeadClot  路  3Comments