[Resolved] Strange physics issue since update to new build ( public )

Hey all,

I’ve been building a platformer, endless runner type game, and all was fine until this latest update, ie when my character walked off the edge of a platform, gravity would affect him and he’d fall…

since i updated to the latest public build, sometimes, he pulls the impossible and just keeps on trucking thro the air…

if I hit the jump button, it seems to wake him up again, and reminds him he’s on earth and can’t float!!!

I know that gravity was updated in some way since the last build, but not sure what effect this has, or if it’s the cause…

any ideas ? [import]uid: 157863 topic_id: 31111 reply_id: 331111[/import]

The object is sleeping. You have to wake it up. Set its .isAwake property to true. Or you can tell the object not to sleep, ever: set its .isSleepingAllowed property to false. [import]uid: 160496 topic_id: 31111 reply_id: 124414[/import]

Thanks that seemed to fix it, however … WHY was it sleeping ?

I’m a corona noob, please help be wrap my head around a few things :smiley:

I tried the isAwake snippet before, and it would still happen, but not as often…

not allowing it to sleep seems to work.
thanks :smiley: [import]uid: 157863 topic_id: 31111 reply_id: 124416[/import]

I think they changed the physics engine so that sleep started working and it wasn’t before. Not sure exactly if that’s true but there were a few reports of the same thing you mentioned. [import]uid: 160496 topic_id: 31111 reply_id: 124431[/import]

The object is sleeping. You have to wake it up. Set its .isAwake property to true. Or you can tell the object not to sleep, ever: set its .isSleepingAllowed property to false. [import]uid: 160496 topic_id: 31111 reply_id: 124414[/import]

Thanks that seemed to fix it, however … WHY was it sleeping ?

I’m a corona noob, please help be wrap my head around a few things :smiley:

I tried the isAwake snippet before, and it would still happen, but not as often…

not allowing it to sleep seems to work.
thanks :smiley: [import]uid: 157863 topic_id: 31111 reply_id: 124416[/import]

I think they changed the physics engine so that sleep started working and it wasn’t before. Not sure exactly if that’s true but there were a few reports of the same thing you mentioned. [import]uid: 160496 topic_id: 31111 reply_id: 124431[/import]