mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
collide: fix pusher convex angle detection for visible geometry
Previously it was only working for CollisionPolygon. Fixes #879
This commit is contained in:
parent
8a86ca97eb
commit
e8d8f20acb
@ -173,8 +173,8 @@ handle_entries() {
|
||||
const CollisionSolid *s2 = sd2._entry->get_into();
|
||||
if (s1 != nullptr &&
|
||||
s2 != nullptr &&
|
||||
s1->is_exact_type(CollisionPolygon::get_class_type()) &&
|
||||
s2->is_exact_type(CollisionPolygon::get_class_type()) &&
|
||||
s1->is_of_type(CollisionPolygon::get_class_type()) &&
|
||||
s2->is_of_type(CollisionPolygon::get_class_type()) &&
|
||||
sd._entry->get_into_node_path() ==
|
||||
sd2._entry->get_into_node_path()) {
|
||||
const CollisionPolygon *p1 = DCAST(CollisionPolygon, s1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user