Home › Forums › Graphics / Blender › Wrong Verge3d Evaluation “when hovered” on rigged object
- This topic has 5 replies, 3 voices, and was last updated 3 years, 11 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2020-12-08 at 2:47 pm #36260fsgueglCustomer
I’m using “on Hovered” and “on click” events puzzles to detect some condition and show some manipulators to the user.
The objec (abook) is rigged to change is format (dimension) and tickness
by page mumbers.
When I introduce an hing page number ( like 500 ) tickness of book inncreases, so dimension (width) of book grows.
If I go with pointer on book “when hovered” o with others puzzles event for mouseover function, Verge detect ground or other objects that are behind, but in a position that appears to be “ahead” of the object.
Basically, if I fill this cover with pages obgect ( a box), everything works as long as the bone scale that adjusts the position of the front cover is one or less than one. As the scale increases and the cover moves making the book larger, the mouseover detects the rear object and not what is visually forward.
I have attacched 2 images. All 2 images shows first point ( starting from bottom) where start to work “when hovered”. You can see this point is correct when book is small, is not correct when book is large.Attachments:
You must be logged in to view attached files.2020-12-09 at 7:12 am #36269Mikhail LuzyaninStaffYes, hover will work with rigged object always like it was in first frame and will not respect changes. Better to use additional invisible objects as triggers that will be not rigged and will be used just for hover or click puzzles.
Co-founder and lead graphics specialist at Soft8Soft.
2020-12-09 at 8:57 am #36273fsgueglCustomerThanks for your answer, Mikhail.
It’s not so easy!
First of all , this frame is the first of animation. But I scale one of bones from puzzle to increase book thickness related to pages number. Is not an animation. Animations it’s only to show customer some physical option of book, but not this.
On the cover there are other object that user can modify : title , author name, etc. He can easy modify each of this with click ( drag, scale, color, font , etc)
Also the image texture is modifiable using a lot of value connected vith scale , position and rotate. So I can’t put a dummy invisible object in front, because covered all sensible areas of the front cover.I have to search for another solution.
2020-12-09 at 9:10 am #36274Mikhail LuzyaninStaffAlso the image texture is modifiable using a lot of value connected vith scale , position and rotate. So I can’t put a dummy invisible object in front, because covered all sensible areas of the front cover.
You need to create a multiple amount of invisible dummy and each one will cover different situation and according to state hide onw and reveal another. This is the only way to do this.
Co-founder and lead graphics specialist at Soft8Soft.
2020-12-09 at 3:56 pm #36307fsgueglCustomerResolved.
I have disconnected bones parented to the front of cover and I have separate geometry of front cover from rest of book. So I use 2 bones to open cover and bend part of, and use position Y of this separated armature to move all front cover and sensible areas in relations to book thickness.
2020-12-10 at 9:54 am #36354Yuri KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.