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
Hi. I have a physics object (A) set in motion by a Physics Impulse at an angle. I want to get the velocity of the object when it collides with another Physics object (B) and use the value to decide whether B should be destroyed or just bounce off A. How do I get the velocity? <img src="smileys/smiley23.gif" border="0" align="middle" />
distance(0,0,object.physics.vexctorX,object.physics.vectorY) will give you the velocity.
Develop games in your browser. Powerful, performant & highly capable.
Thanks a bunch!