Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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
I've not used physics behavior at all (forgive me). What I'm trying to do is create an object at top of screen... it naturally drops with physics behavior. If the play holds UP key, then it begins to slow... the aim is to land on the floor... if the speed is too great... die.
I've found an article on here
but I'm a tad confused.
I'm sure I could achieve this with Bullet (I think), but it might not be same.
Develop games in your browser. Powerful, performant & highly capable.
You don't need physics, this can easily be done with Bullet behavior.
On collision with the ground check rocket bullet speed and if it's small enough, then it landed successfully.
I used Bullet, but took advance of its gravity.
Happy days ;)
but what about if it collides with a ground-sprite or solid?
currently, my object falls straight through :(
despite having Object collides with ground-sprite | object = speed = 0 / gravity = 0
On collision with ground you can check the bullet speed (to know if the ship landed or crashed), then disable Bullet behavior.