Search found 10 matches

by DjSapsan
Sat Mar 21, 2020 7:52 pm
Forum: Support and Development
Topic: I need to properly join cells with joints
Replies: 4
Views: 6021

Re: I need to properly join cells with joints

I'm guessing the problem is less how to do such a thing and more so how to do so efficiently? Why not create the naive approach if you haven't already and check if it's actually a bottle neck. Right now off the top of my head I can't think of any optimizations. I think it mainly depends on what you...
by DjSapsan
Fri Mar 20, 2020 11:41 pm
Forum: Support and Development
Topic: I need to properly join cells with joints
Replies: 4
Views: 6021

Re: I need to properly join cells with joints

Picture 1 is here
by DjSapsan
Fri Mar 20, 2020 10:10 pm
Forum: Support and Development
Topic: I need to properly join cells with joints
Replies: 4
Views: 6021

Re: I need to properly join cells with joints

Sorry, but this forum is broken, i cant put pictures properly, they are appears randomly and attachment box is broken...
by DjSapsan
Fri Mar 20, 2020 10:05 pm
Forum: Support and Development
Topic: I need to properly join cells with joints
Replies: 4
Views: 6021

I need to properly join cells with joints

I creating a very sophisticated simulation of evolution with the DNA code. I have the cells that eats, moves and divides. New cell might be connected to parent. But this feature requires a very complicated handling of physical joints. There are few cases that can happen: 1) cells1.png 2) cells2.png ...
by DjSapsan
Sun May 12, 2019 7:37 pm
Forum: Support and Development
Topic: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)
Replies: 12
Views: 11291

Re: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)

[/quote] No one could know that you had that line, because you didn't show your code. Next time you ask for help, please provide your code, because otherwise there's no way to help. [/quote] Well i was wrong one more time. Line: world:setCallbacks(beginContact, endContact, preSolve, postSolve) doesn...
by DjSapsan
Sat May 11, 2019 6:15 pm
Forum: Support and Development
Topic: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)
Replies: 12
Views: 11291

Re: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)

Well, idk how it works, but i fixed. I had this line: self.world:setCallbacks(beginContact, endContact, preSolve, postSolve) That line was at few lines after original problem: self.world = wf.newWorld(0, 0, true) Somehow Lua interpreted "setCallbacks" at the same time as creating new world...
by DjSapsan
Fri May 10, 2019 6:40 pm
Forum: Support and Development
Topic: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)
Replies: 12
Views: 11291

Re: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)

I said "Im using "windfield" library". If you dont use it then you cant help me.
Its here: https://github.com/adnzzzzZ/windfield
by DjSapsan
Thu May 09, 2019 10:03 pm
Forum: Support and Development
Topic: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)
Replies: 12
Views: 11291

Re: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)

4vZEROv wrote: Sun May 05, 2019 1:45 am If you don't provide your code I can't help you.

Code: Select all

world = wf.newWorld(0, 0, true)
by DjSapsan
Tue Apr 30, 2019 4:02 pm
Forum: Support and Development
Topic: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)
Replies: 12
Views: 11291

windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)

Im using "windfield" library. Love2d version - latest 11.2 Line " world = wf.newWorld(0, 0, true) " gives me error from windfield itself. (edited to invalid line) Error windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value) Traceback windfield/init.lua:36: i...