Hello everybody, I have some problem with physical bodies. When I try create physical body with non zero mass, it is created in random Y-co-ordinate. How can I fix it?
(Sorry for my English)
Problem with dynamic bodies
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Problem with dynamic bodies
Sorry for my English.
Translated by Google translate.
Translated by Google translate.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Problem with dynamic bodies
Please post a .love file showing your problem.
When I write def I mean function.
Re: Problem with dynamic bodies
Here *.zip whith source:
The coordinates of the body displayed on the screen, each time they are different. The code responsible for the physical body is in the files: player.lua and game.luaSorry for my English.
Translated by Google translate.
Translated by Google translate.
Re: Problem with dynamic bodies
It seems the problem can be circumvented if the body is to create a few seconds after launch.
Sorry for my English.
Translated by Google translate.
Translated by Google translate.
Who is online
Users browsing this forum: Bing [Bot] and 231 guests