Updated Lua examples
Most of the examples already working! Only some of them still fail, mostly related to data arrays...
This commit is contained in:
parent
7f9513fbf4
commit
865b216ebe
17 changed files with 69 additions and 78 deletions
|
@ -60,7 +60,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC
|
|||
enemyBoxPos.z - enemyBoxSize.z/2),
|
||||
Vector3(enemyBoxPos.x + enemyBoxSize.x/2,
|
||||
enemyBoxPos.y + enemyBoxSize.y/2,
|
||||
enemyBoxPos.z + enemyBoxSize.z/2))) then collision = true
|
||||
enemyBoxPos.z + enemyBoxSize.z/2)))) then collision = true
|
||||
end
|
||||
|
||||
-- Check collisions player vs enemy-sphere
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue