Retrieve the force

This forum is currently in read-only mode.
  • You should really be able to retrieve the force of an object with physics. For example to set a speed limit, to determine if an object should break etc. <img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" />

  • You can retrieve the velocity already... I'll try and add a way to get the current force though, it's just mass * acceleration.

  • hi, just logged to say hello and congrats for this fantastic application, I find it pretty useful for fast app and game ideas.

    on topic: You can retrieve force as Ashley said from Force=mass*acceleration but may be Im thinking you will need the algebraic equations of motion. Im refreshing my physics atm but from what I can remember may be you could use a=(vf-v0)/(tf-t0) for a given moment and given velocity. there is other equation for acceleration but its related with total displacement if im not mistaken.

    cheers.

  • You can't retrieve the acceleration as far as I can tell.

  • It would be great to be able to compare physics movement properties, eg: if angular velocity > 10 then ...

    Would add a little more control to some of the functions

    I dunno...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It would be great to be able to compare physics movement properties, eg: if angular velocity > 10 then ...

    Would add a little more control to some of the functions

    I dunno...

    It'd also be nice to be able to retrieve a physics collision, as opposed to a sprite collision. I don't know if that'd be possible, though.

    For instance, I can't reliably add sound effects to my billiards demo just by using sprite collisions. They don't trigger properly because the physics collision takes place first. If we could check for physics collisions and retrieve force, not only could I add sfx, but varying degrees of loudness depending on how hard they hit, which would be pretty sweet.

  • It'd also be nice to be able to retrieve a physics collision, as opposed to a sprite collision. I don't know if that'd be possible, though.

    For instance, I can't reliably add sound effects to my billiards demo just by using sprite collisions. They don't trigger properly because the physics collision takes place first. If we could check for physics collisions and retrieve force, not only could I add sfx, but varying degrees of loudness depending on how hard they hit, which would be pretty sweet.

    AND, we could make objects brake if the impact is to powerful! SWEET!! Put THAT up your To-do list and code it!

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