Problems with Physics when use animation #1545
Replies: 13 comments 13 replies
-
@paulocoutinhox |
Beta Was this translation helpful? Give feedback.
-
I see, but don't have nothing related to my problem. That test only set gravity to zero and make position actions, that is not my case. Did you see my problem above ^? The physics works, until my sprite is not animated, but normal sprite works. |
Beta Was this translation helpful? Give feedback.
-
Once again: Easiest way: Whats happen? |
Beta Was this translation helpful? Give feedback.
-
I dont want change the gravity man, i only want that the sprite be normal and not crazy, going to bottom left. And my code is above and the sample too. |
Beta Was this translation helpful? Give feedback.
-
To you understand better: Screen.Recording.2023-12-26.at.04.35.43.movPlayer 1 - Left - Is using simple sprite |
Beta Was this translation helpful? Give feedback.
-
Have you looked on the sources (physics engine) about the different behaviour? |
Beta Was this translation helpful? Give feedback.
-
Basically the problem is here:
If i comment this line, it works. |
Beta Was this translation helpful? Give feedback.
-
Look at Comment out the contents of that method, and see if the physics is correct. If it is, then uncomment a few lines in that method and re-run the app, and repeat the process until you figure out which bits of code are affecting the physics. |
Beta Was this translation helpful? Give feedback.
-
I think I can speak for all 'Top 10' contributors:
Off topic: |
Beta Was this translation helpful? Give feedback.
-
The other strange thing is that the problem only happens on desktop, because on appletv and ios it works without problem. See: game.mov |
Beta Was this translation helpful? Give feedback.
-
Hi, Can anyone help me with this? Thanks. |
Beta Was this translation helpful? Give feedback.
-
You just need more testing to try to find the problem
|
Beta Was this translation helpful? Give feedback.
-
@paulocoutinhox |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a small problem when i use Physics with animation.
I made a small project to show:
https://github.com/paulocoutinhox/axmol-bomb-test
When i use this code:
The bomb goes to:
But when i use this code:
The bomb goes to down, correctly.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions