This commit is contained in:
Miloslav Ciz 2024-12-02 23:05:41 +01:00
parent afcdb99574
commit 3e6c205302
3 changed files with 18 additions and 0 deletions

View file

@ -245,6 +245,12 @@ TPE_Vec3 _LCR_racingBlockEnvFunc(TPE_Vec3 point, const uint8_t *block)
break;
}
case LCR_BLOCK_BUMP:
point = TPE_envCone(point,
TPE_vec3(0,-1 * LCR_PHYSICS_UNIT / 4 ,0),
TPE_vec3(0,LCR_PHYSICS_UNIT / 6,0),(5 * LCR_PHYSICS_UNIT) / 12);
break;
case LCR_BLOCK_CORNER:
case LCR_BLOCK_CORNER_12:
{