We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

A question about velocity / acceleration on moving an object

Home Forums Puzzles A question about velocity / acceleration on moving an object

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #51982
    coozoh
    Customer

    Hi guys, so I’ve created a scene whereby elements inside essentially “follow” the mouse. It works great, however is it possible to move the objects gently rather than it just immediately snapping and pointing to the mouse position? How do I apply velocity or acceleration to the movement action?

    Attachments:
    You must be logged in to view attached files.
    #52065
    coozoh
    Customer

    Anyone got any pointers on this at all? :)

    #52083
    xeon
    Customer

    No simple solution that I am aware of. If you are using puzzles only then you may want to create your own methods for setting the location of your object. Right now your set is immediately after the calculation so it will snap. Program a delay as a function over time and control the velocity. You will probably want to create a easing in and out function too.

    Not sure of the frequency you are currently polling your position but you can also try controlling movement yourself in puzzles vs using constraints.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.