simGetCollisionInfo().has_collided always false, plz help #4924
Siyuan Zhu (zsychina)
started this conversation in
General
Replies: 1 comment 1 reply
|
I also have the same problem, have you solved it? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm working on a collision avoidance algorithm using AirSim for reinforcement learning and I've encountered an issue where simGetCollisionInfo().has_collided is not returning whether a collision has actually happened. The has_collided flag remains false even though my drone has already collided with a block.
The same is true in the UE interface; the system has already displayed the nth collision, but the collision_count remains at 0.
I'm new to this area, so any response would be helpful.

All reactions