add gfx.text3d.spawn(...)

This commit is contained in:
MihailRis
2024-11-14 10:32:50 +03:00
parent c4170c07c5
commit eb5715eba9
7 changed files with 57 additions and 15 deletions
+6
View File
@@ -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