Update Bullet Area overlaps when Area properties or shapes change.
This commit is contained in:
parent
53a3dfbf6b
commit
0d3e8538ef
6 changed files with 12 additions and 7 deletions
|
|
@ -181,6 +181,7 @@ void CollisionObjectBullet::on_exit_area(AreaBullet *p_area) {
|
|||
|
||||
void CollisionObjectBullet::set_godot_object_flags(int flags) {
|
||||
bt_collision_object->setUserIndex2(flags);
|
||||
updated = true;
|
||||
}
|
||||
|
||||
int CollisionObjectBullet::get_godot_object_flags() const {
|
||||
|
|
@ -214,7 +215,7 @@ const btTransform &CollisionObjectBullet::get_transform__bullet() const {
|
|||
}
|
||||
|
||||
void CollisionObjectBullet::notify_transform_changed() {
|
||||
isTransformChanged = true;
|
||||
updated = true;
|
||||
}
|
||||
|
||||
RigidCollisionObjectBullet::~RigidCollisionObjectBullet() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue