Forum

> > CS2D > Scripts > Can't make physics sample work
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Can't make physics sample work

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Can't make physics sample work

Mami Tomoe
User Off Offline

Zitieren
1
2
Lua Physics Error: API call without initialization
LUA ERROR: sys/lua/physics.lua:285: bad argument #1 to 'physics_setmass' (number expected, got boolean)
I did a little digging and it gets
false
.

I get this on a
server.lua
:
1
2
3
dofile("sys/lua/physics.lua")
dofile("sys/lua/samples/physics_collisions.lua")
dofile("sys/lua/samples/physics_cars.lua")

Which I ran on a 200x200 map filled with nothing but grass tiles.

I don't know why it doesn't work.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht