Search found 10 matches
- Sat Mar 21, 2020 7:52 pm
- Forum: Support and Development
- Topic: I need to properly join cells with joints
- Replies: 4
- Views: 6588
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...
- Fri Mar 20, 2020 11:41 pm
- Forum: Support and Development
- Topic: I need to properly join cells with joints
- Replies: 4
- Views: 6588
Re: I need to properly join cells with joints
Picture 1 is here
- Fri Mar 20, 2020 10:10 pm
- Forum: Support and Development
- Topic: I need to properly join cells with joints
- Replies: 4
- Views: 6588
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...
- Fri Mar 20, 2020 10:05 pm
- Forum: Support and Development
- Topic: I need to properly join cells with joints
- Replies: 4
- Views: 6588
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 ...
- 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: 11785
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...
- 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: 11785
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...
- 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: 11785
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
Its here: https://github.com/adnzzzzZ/windfield
- 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: 11785
Re: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)
Code: Select all
world = wf.newWorld(0, 0, true)
- Sat May 04, 2019 10:22 pm
- Forum: Support and Development
- Topic: windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value)
- Replies: 12
- Views: 11785
- 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: 11785
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...