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.

Stop object movement and restore previous object position?

Home Forums Puzzles Stop object movement and restore previous object position?

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • #67851
    c4cc
    Participant

    deleted

    • This topic was modified 1 year ago by c4cc.
    #67953
    c4cc
    Participant

    deleted

    • This reply was modified 1 year ago by c4cc.
    • This reply was modified 1 year ago by c4cc.
    #68346
    c4cc
    Participant

    Credit to Alexander for suggesting using physics ghost bodies.

    I want to prevent certain objects passing through other objects, using physics ghost bodies.
    How do I use restore previous object position? I checked object puzzles, but
    none mentioned reversing value/inputs.

    My physic puzzles:

    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    My movement puzzles:

    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    When I tried put in the movement puzzles under the detect collision puzzles, it caused my character to teleport away instead of preventing it going through objects.

    #68349
    bigmike814
    Customer

    See the app I included. This is a test I did for items touching and repositioning.

    https://v3d.net/psj

    Also, when you’re moving the object are you only wanting it to move slightly? You’re moving it along the 7 by .03 from side to side. I think you’re wanting to use the “change position by” puzzle.

    Attachments:
    You must be logged in to view attached files.
    #68351
    c4cc
    Participant

    See the app I included.

    May I see its puzzles, especially for objects touching and repositioning?

    Also, when you’re moving the object are you only wanting it to move slightly? You’re moving it along the 7 by .03 from side to side. I think you’re wanting to use the “change position by” puzzle.

    I wanna move that object around at moderate speed, as a 2d playable character. I don’t want moving characters to phase through walls.

    What’s this “”change position by” puzzle? I’ve never heard of such a puzzle.

    • This reply was modified 1 year ago by c4cc.
    #68352
    bigmike814
    Customer

    I attached the file in a zip. You’ll have to download it and add it to your app folder. Look under where it says attachments.

    I wanna move that object around at moderate speed, as a 2d playable character. I don’t want moving characters to phase through walls.

    Yeah but you’re setting it to the y position. It’s going to move there not a slight movement. Use the change position to move it slightly.

    #68354
    bigmike814
    Customer

    There are a few procedures you’ll need to achieve this. But here is the main one.

    • This reply was modified 1 year ago by bigmike814.
    Attachments:
    You must be logged in to view attached files.
    #68356
    c4cc
    Participant

    I did try to view your app in App manager, but could not see its puzzles.

    Also, is “change local transform” object puzzle the “change position” puzzle you mentioned?

    Edit: I tried what you suggested, but still the same

    https://ibb.co/3s64Dd2

    There are a few procedures you’ll need to achieve this. But here is the main one.

    Thanks, I’ll get back to you later, after trying this

    • This reply was modified 1 year ago by c4cc.
    • This reply was modified 1 year ago by c4cc.
    • This reply was modified 1 year ago by c4cc.
    #68363
    bigmike814
    Customer

    I did try to view your app in App manager, but could not see its puzzles.

    It should work. I tested it to make sure and it works on my end. Are you seeing this in the app manager?

    Attachments:
    You must be logged in to view attached files.
    #68365
    bigmike814
    Customer

    You’ll want to get the position when not touching and when touching set the position to the variable you used to get the position when not touching. Also when not touching use the change position. That will allow you to change it by that amount, not actually set it to that location.

    Try to get the file I sent working and mess with it. It will help you understand the ghosting better.

    #68366
    c4cc
    Participant

    I did try to view your app in App manager, but could not see its puzzles.

    It should work. I tested it to make sure and it works on my end. Are you seeing this in the app manager?

    I can see it, but can’t access the puzzles.

    original-drawn-by-nanashinayuzu-mochi-53d2788a0d5e217f8b28d256c728bf04

    • This reply was modified 1 year ago by c4cc.
    • This reply was modified 1 year ago by c4cc.
    #68377
    kdv
    Participant

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #68399
    bigmike814
    Customer

    https://v3d.net/put

    • This reply was modified 1 year ago by bigmike814.
    • This reply was modified 1 year ago by bigmike814.
    • This reply was modified 1 year ago by bigmike814.
    Attachments:
    You must be logged in to view attached files.
    #68411
    c4cc
    Participant

    I searched inside that folder, which file do I go to for those puzzles?

    #68412
    kdv
    Participant

    All files in that folder. Just copy it to the folder with your other apps.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

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