How Can I Change De Velocity Of The "touch Move" Node?

Discussion in 'How Can I...?' started by Aurelien, Jul 16, 2020.

  1. Aurelien

    Aurelien Boxer

    May 14, 2020
    Likes Received:

    When I move my object from right to left for example I have a latency at the beginning of the movement in the movement of the object as well as an exponential acceleration of the object during the movement. I guess it's the velocity that creates this effect. I would like to create something much more responsive with less latency.

    Does anyone know how to change the velocity settings for this node?

    I guess the solution is in this part of the node's code but I'm not a developer :

    function getVelFromScreenMove(dx, dy) {
    return forward.scale(dy)

    function addLinVel(vel) {

    function setLinVel(vel) {
    phys.setLinearVelocity(vel.x, vel.y, vel.z);

    Thanks in advance

Share This Page