How do i destroy at certain speeds/distance

0 favourites
  • 3 posts
From the Asset Store
Have you ever dreamed of playing in a Speedball game or tournament?
  • Hi,Im new to game development & from the VFX & animation side. Just trying out Construct 2.

    How do i destroy a object falling down at certain speeds/distance from the ground . Like a Ice cube falling to the ground.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I haven't actually tried this but looking how I'd go about trying to solve it, I'd give the object a movement behavior, bullet might work.

    Bullet then has event options that allow you to "compare distance traveled" and or "compare speed", set values for those and trigger a destroy action.

    Like I say, I haven't tried this but I think that would work if you set the bullet speed to 0 initially and set it's angle to 90.

    Edit: Just tried it and it works fine!

    You might need to change "compare distance traveled" to get a distance from the floor depending on how you want it to work.

  • Thanks for the reply Zantium, will try it out. New to the code stuff.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)