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.

Drag Move no longer working correctly in previously-built project

Home Forums Puzzles Drag Move no longer working correctly in previously-built project

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #64722
    rollos5son
    Participant

    Hi all!

    I have been working on a project I’d set aside for a good while. One of the app’s features is the ability to load and place an object (A) against one of four faces of another object (B), with rotation applied for correct orientation, and then enable vertical and horizontal movement relative to that face.

    This feature no longer works as it had before. Now, if I place A with no rotation, it works fine, but if I place it with 180 degree rotation the drag moves it in the opposite horizontal direction relative to the chosen B face, and if I rotate it 90 or 270 I can’t move it horizontally at all.

    Any idea what’s going on? Thanks!

    • This topic was modified 1 year, 6 months ago by rollos5son.
    #64724
    rollos5son
    Participant

    I imagine this is due either to changes in Puzzles or perhaps some incompatibility in my project that I’ve missed.

    #64725
    xeon
    Customer

    I just checked some projects created a few years ago and they are still functioning.

    I would start with the basics…I am sure you have but just putting them down for reference.

    1. Make sure your 3d app is using the most recent plugin version.
    2. Make sure your V3D project has been updated within the App Manager.
    3. Create a new project and test that the rotate function is or is not working for you as expected.

    If at the end of step three all is working then something has changed. If its not working then there is something unique to your puzzle logic.

    Share our puzzle logic if you can.

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

    #64726
    kdv
    Participant

    It works as usual with no changes. One important thing: dragging works properly only in the world’s coordinate space. If your dragged object is parented to some other object then this object will be dragged in the local coordinate space of its parent.

    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.

    #64747
    rollos5son
    Participant

    @kdv – yep, I do have them set as children to objects that serve as offset reference points for morphs applied to A, and the latter are all set to 0 rotation. So in a manner of speaking the parent becomes the child’s ‘world’?

    If that’s the cause then something did indeed change with Puzzles. In either case, sounds like the fix will be to set corresponding rotations to the parent objects at app start and change the code for positioning them.

    Hopefully, my next reply will be of the good news variety. Thanks for the tip!

    • This reply was modified 1 year, 6 months ago by rollos5son.
    #64750
    rollos5son
    Participant

    Update – the ‘fix’ was only partly successful; when I apply XZ drag to a child with a 90 or 270 rotated parent I only get Z movement, whereas X by itself allows X.

    At this point it looks like I’ll have to go to plan B and just load pre-rotated objects and leave the rotations out of the mix, unless I’m missing something else; I can always revert if there’s a fix for that second part.

    • This reply was modified 1 year, 6 months ago by rollos5son.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.