Object Mesh - Anyone an expert?

0 favourites
  • 3 posts
From the Asset Store
mesh 3D objects "hemisphere, oval, tunnel and other various shapes."
  • I am using the new object mesh features as its come at a perfect timing for my needs. Unfortunately I am completely stumped on how I can rotate the object without it altering the mesh. I have looked at both examples and neither help solve my issue.

    As it is hard to explain the issue I have attached a very easy and simple example.

    If anyone could help or knows how to fix the issue It would be a huge help.

    The example uses the latest beta (R222)

    Thanks

    dropbox.com/s/7vjc2bsyvdididk/mesh_issue.c3p

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't have an answer to solve your problem but I do think you uncovered a bug. See the 2 attached pictures.

    I debugged your project to see if I could see what was going on and this is what I found:

    I stretched the bottom left corner of the mesh to the left until it was nearly touching the left side of the screen. I then rotated it until the 2 left sides were aligned with each other. In the debugger, I took screenshots of the oleft and sprite2(0).x values.

    The first image shows the x coordinate of the Sprite2 object on the far left side which should be your sprites bboxleft value. The second image shows the the value that was stored in the oleft variable. This should be the same as the first value but they definitely aren't. I am not an expert with the mesh object but from all I can see, your events should work fine, the system is just not getting the correct bounding box values from a mesh that has been deformed and then rotated.

    I would suggest you submit this as a bug.

  • Thanks for taking the time to look.

    Ill post it as a bug and see if I can get anything back from them as to whether its me, or a bug.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)