Collision bug
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Collision bug
Hello. I'm doing a game, but cars don't collide with blocks. What am I doing wrong? And, there is another bug. Then I disconnect from a server, I can't connect again.
Re: Collision bug
In server.lua you create your box2d world at line 203, then you add all your static fixtures, but then you AGAIN create a box2d world at line 242. Which means the terrain is in a different world from your cars.
Also your variable naming scheme is bad, using single letter global variables everywhere is unreadable and prone to errors. Always name your variables to be sufficiently descriptive.
Also your variable naming scheme is bad, using single letter global variables everywhere is unreadable and prone to errors. Always name your variables to be sufficiently descriptive.
Re: Collision bug
Thanks!!!!!! You very very very very very helped me!
Who is online
Users browsing this forum: Google [Bot] and 37 guests