You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Analytic collision normals
This commit is contained in:
@@ -1737,7 +1737,7 @@ void GodotPhysicsServer3D::_update_shapes() {
|
||||
}
|
||||
}
|
||||
|
||||
void GodotPhysicsServer3D::_shape_col_cbk(const Vector3 &p_point_A, int p_index_A, const Vector3 &p_point_B, int p_index_B, void *p_userdata) {
|
||||
void GodotPhysicsServer3D::_shape_col_cbk(const Vector3 &p_point_A, int p_index_A, const Vector3 &p_point_B, int p_index_B, const Vector3 &normal, void *p_userdata) {
|
||||
CollCbkData *cbk = static_cast<CollCbkData *>(p_userdata);
|
||||
|
||||
if (cbk->max == 0) {
|
||||
|
||||
Reference in New Issue
Block a user