Add bump
This commit is contained in:
parent
afcdb99574
commit
3e6c205302
3 changed files with 18 additions and 0 deletions
6
racing.h
6
racing.h
|
@ -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:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue