Transform Logic

Discussion in 'Technical Discussion' started by Machine Rises, Sep 25, 2015.

  1. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    I've noticed that when using TL to stop an object that it is very hard to have it stop exactly where I want even with the smallest of position changes to the object or TL. Anyone else noticed this? Have a good method for getting around this problem?
     
    Jamie likes this.
  2. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Without having looked at this in detail... there are going to be small differences between collision detection and how fast your objects are moving. The detection doesn't always trigger at the exact same location due to movement between frames. The accuracy should go up as the speed of objects goes down. Hope that helps at least a little.
     
    Sean Buildbox and Machine Rises like this.
  3. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Thanks Andy, yeah I'm just trying to understand how to best use TL so that definitely helps me a lot.
     
  4. Jamie

    Jamie Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    382
    Likes Received:
    273
    Presumably the collision shape of the to-be-tranformed object involved is a big factor. Maybe try making a flat edge where it is supposed to collide with a logic block? Would that help facilitate more accurate collision detection?
     
  5. jbross

    jbross Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    126
    Likes Received:
    26
    How can I make an object change colors?
     
  6. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    How I got around this is that the Logic is a Replacement that replaces any movements and rotation speed to 0 and then also sets the position and angle at the exact place where the object supposed to end up...

    EDIT: Oh sorry, just noticed this is an old thread, not sure how it came up as new :/
     
    tweettopix likes this.

Share This Page