Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | spicy | |
Old Version | Published before Godot 3 was released. |
Hello again. Another day, another question
So for my first time game project I’m working on (to familiarise myself with this Game Engine), I’ve ran into a problem with my player character.
I was planning on starting the programming for the player movement but I realised that the player character sprite didn’t have a rigidbody2D or any collision detection. So I quickly added that and set up a quick test.
However as you can see in the video, when I launch the game, my character bounces and then is suspended in mid-air. And I don’t know why.
When I created my tilemap quite a while ago, I did the collision stuff for that there and then. It was simple enough as they are all blocks, and I made sure I turned on ‘Use Kinematic’ in my level. So I’m confident it’s an issue with my player collision/rigidbody.
Sorry in advance about the bad framerate and slightly poor quality for the video, I recorded it using some free desktop recording software so it isn’t best, but should be enough for you to see what my issue is.
Link to the video: link removed
Thanks!
remove all other nodes except player see if it does anything weird, then clear the script.
Mohammad Hadi Aliakb | 2016-03-03 05:23