diff --git a/racing.h b/racing.h index 0c90396..9220a65 100644 --- a/racing.h +++ b/racing.h @@ -176,7 +176,7 @@ TPE_Vec3 _LCR_racingBlockEnvFunc(TPE_Vec3 point, const uint8_t *block) TPE_Unit rampShift = block[0] != LCR_BLOCK_RAMP_CURVED ? LCR_PHYSICS_UNIT / 6 : 0; - sides[0] = LCR_PHYSICS_UNIT / 8 - rampShift; + sides[0] = -1 * LCR_PHYSICS_UNIT / 8 - rampShift; sides[1] = -1 * LCR_PHYSICS_UNIT / 4; sides[2] = LCR_PHYSICS_UNIT / 2 - rampShift; sides[3] = -1 * LCR_PHYSICS_UNIT / 4; @@ -191,7 +191,7 @@ TPE_Vec3 _LCR_racingBlockEnvFunc(TPE_Vec3 point, const uint8_t *block) sides[2] = LCR_PHYSICS_UNIT / 2 - rampShift; sides[3] = -1 * LCR_PHYSICS_UNIT / 4; sides[4] = LCR_PHYSICS_UNIT / 2 - rampShift; - sides[5] = 0; + sides[5] = LCR_PHYSICS_UNIT / 8; _CHECK_NEXT(TPE_envAATriPrism(point,TPE_vec3(0,0,0),sides,LCR_PHYSICS_UNIT ,2));