Armory: Continuous collision detection

Created on 6 Oct 2018  路  11Comments  路  Source: armory3d/armory

Armory needs a continuous collision detection option for objects moving fast.

Otherwise objects with high velocity will pass through other objects.

For example twin stick shooter, when continuously shooting balls pass through the other character capsule collision most of the time.

feature request

All 11 comments

new issue

Added Properties - Physics - Armory Props - Continuous Collision Detection option. Still in testing, but already helps when enabled for the Projectile object in templates.

capture1

Great : )

This could help

Enable CCD

bodyNP.node().setCcdMotionThreshold(1e-7)
bodyNP.node().setCcdSweptSphereRadius(0.50)

This code is from this discussion
https://www.panda3d.org/manual/index.php/Bullet_Continuous_Collision_Detection

I noticed that I could no longer use the "Get First Contact" node to detect collisions with objects when I enabled this. Does anybody know why?

I noticed that I could no longer use the "Get First Contact" node to detect collisions with objects when I enabled this. Does anybody know why?

I use GetContacts.
Should Get First Contact be deprecated ?
I would like new options for GetContacts :

  • output boolean : At least one contact
  • contact index
  • output index contact object

I'll probably look into that, then. Might be able to consolidate the contact nodes ( with the added options you mentioned ).

Reopened to investigate. 馃槇

Continuous Collision Detection seem to work well.
Gravity does not work is a different bug.

Gravity works well on nighty, it seems it's resolved :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GrahamWilkins picture GrahamWilkins  路  3Comments

DevMagicLord picture DevMagicLord  路  3Comments

AttSee picture AttSee  路  4Comments

SeleDreams picture SeleDreams  路  3Comments

donalffons picture donalffons  路  4Comments