- This topic has 5 replies, 3 voices, and was last updated 1 year, 5 months ago by rollos5son.
-
AuthorPosts
-
2023-06-20 at 3:55 pm #64722rollos5sonParticipant
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, 5 months ago by rollos5son.
2023-06-20 at 4:04 pm #64724rollos5sonParticipantI imagine this is due either to changes in Puzzles or perhaps some incompatibility in my project that I’ve missed.
2023-06-20 at 5:08 pm #64725xeonCustomerI 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.com2023-06-20 at 7:15 pm #64726kdvParticipantIt 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.
2023-06-21 at 1:28 pm #64747rollos5sonParticipant@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, 5 months ago by rollos5son.
2023-06-21 at 2:40 pm #64750rollos5sonParticipantUpdate – 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, 5 months ago by rollos5son.
-
AuthorPosts
- You must be logged in to reply to this topic.