mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add gfx.text3d.spawn(...)
This commit is contained in:
parent
c4170c07c5
commit
eb5715eba9
7 changed files with 57 additions and 15 deletions
|
|
@ -24,4 +24,10 @@ function on_hud_open()
|
|||
local velocity = vec3.add(throw_force, vec3.add(pvel, DROP_INIT_VEL))
|
||||
drop.rigidbody:set_vel(velocity)
|
||||
end)
|
||||
|
||||
gfx.text3d.spawn({0.5, 99.5, 0.0015}, "Segmentation fault", {
|
||||
scale = 0.005,
|
||||
color = {0, 0, 0, 1},
|
||||
displayMode = "static_billboard"
|
||||
})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue