Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.
Develop games in your browser. Powerful, performant & highly capable.
Did you tick "solid" under groups -> attributes for the objects in question?
Didnt work anyway =(
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!!!