Hi, can you tell me, how to make working physics collision between objects if gravity equal to zero?
That didnt work, my objects just scroll throught another objects like ghosts.
Did you tick "solid" under groups -> attributes for the objects in question?
Develop games in your browser. Powerful, performant & highly capable.
Didnt work anyway =(
http://rapidshare.com/files/195962607/phys.cap.html
i want to use physics in my top-down game, but that didnt work without gravity checkbox checked and worldgravity greater than 0.05
I did some further tests and it seems you're right. Physics won't work without gravity which is strange. Anyway I found a work around..
If you set just one object (in your example the blue square) to have gravity. And in the ALWAYS event (couldn't get it working in START OF LAYOUT), set GRAVITY ENABLED to 0. Seems to work.
Ah you see your using actions in the Sprite to move it...which is more like repositioning it. You need to click the physics tab and select 'add force' or 'set velocity', otherwise the physics shapes 'fall asleep' because they think they aren't moving.
That explains a lot then!
Thanks alot!! that really help!!!