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
Our educational partners
Free education resources to use in the classroom
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
Actually my question is how C2 physics engine really works. I'm trying to make an object floating in the air. My approach is applying upward force in the same value as the weight. I calculate the weight is object Mass times gravity acceleration. So i just applying a force in upward direction and theoretically the object should stay in the air because the total force upward and downward is zero. But the result i got is the object flying fast in upward direction. Anybody knows why this happen?
only apply the impulse one time, you event may be triggering everythick.
To maintain in the air, the easy ways is set gravity to 0 and stop it right after.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for fast reply TELLES0808.
I don't want to use impulse. The output is different. Since physics object affected by gravity every tick so i want to reproduce the force upward so my object will not fall. Sorry i forgot to tell that i don't want to use zero gravity either. I want real world physics. Because later I will apply force from different direction too and the object will fall if there is no force upward. I make this post because i failed to do simple physics logic about neutralize vertical force.