Comments (7)
I fixed this. You don't need to put world:update before calling any windfield functions anymore.
from windfield.
Put world: update first before using any windfield function
from windfield.
This is also a problem i encounter
from windfield.
Was the documentation also changed?
from windfield.
There's no need to change the documentation since you don't need to do anything differently. You can call world:update before or after other windfield calls now.
from windfield.
Okay, also, when I call world update in two objects that are processed at the same time, the physics is doubled. Ex:
World update in player and world update in enemy
from windfield.
You should call world:update once per frame. You shouldn't call it once per entity.
from windfield.
Related Issues (20)
- Using normal body+fixture+shape HOT 1
- Unbalanced flight with nested colliders HOT 1
- Should be updatet to love 0.11 HOT 1
- Compatibility with STI's "box2d" plugin HOT 1
- Non-existent methods World:getBodies and Body:getFixtures called. HOT 2
- effectors
- windfield/init.lua:36: attempt to call method 'collisionClear' (a nil value) HOT 3
- Attempt to use destroyed contact HOT 3
- is there a reason why "World" is global?
- Queries don't work with circle colliders HOT 2
- Query Circle Area does not work on circle colliders HOT 2
- Ghfhh
- optimize queries
- Adding width to line colliders HOT 2
- enter(), stay() and exit() doesn't work for sensors
- change debug_drawing_disabled to enabled and default to false
- Debug drawing doesn't represent location of secondary fixtures. HOT 1
- add more examples & tips to documentation
- Incompatible licensing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windfield.