From c38d9180df3763dbb6b13af45fcc07b8bddc5819 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Thu, 16 May 2019 10:18:48 +0200 Subject: Revert "Revert "Implemented terrain raycast acceleration"" --- modules/bullet/shape_bullet.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/bullet/shape_bullet.cpp b/modules/bullet/shape_bullet.cpp index b590d63167..f15bcec914 100644 --- a/modules/bullet/shape_bullet.cpp +++ b/modules/bullet/shape_bullet.cpp @@ -148,7 +148,13 @@ btHeightfieldTerrainShape *ShapeBullet::create_shape_height_field(PoolVectorbuildAccelerator(16); + + return heightfield; } btRayShape *ShapeBullet::create_shape_ray(real_t p_length, bool p_slips_on_slope) { -- cgit v1.2.3