- This topic has 9 replies, 2 voices, and was last updated 4 years, 5 months ago by GLiFTeK.
-
AuthorPosts
-
2020-06-09 at 5:02 am #28547GLiFTeKCustomer
hi
this is probably a facepalm (why didn’t i think of that) scenario…
but I’m doing a simple resizing of objects with the drag move puzzle and would like a minimum and maximum limit to how far they can scale to.i’m rounding the scaled object’s scale value into a variable (scaleX)
using a child object handle that when dragged, activates the drag move of the parent.
any hints on this scanrio out there?
i’ve done “if scaleX is less than (min limit)” encompassing the scaling .. this ends up in some serious loop / crashes.
Possibly a different route to use scale puzzles instead…
any tips would be very appreciated.
thanks!
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-06-09 at 6:04 am #28551Mikhail LuzyaninStaffYou jest can apply a limit scale (x,y,z) constraint to an object in Puzzles or directly in Blender.
Co-founder and lead graphics specialist at Soft8Soft.
2020-06-09 at 7:25 am #28561GLiFTeKCustomerYou jest can apply a limit scale (x,y,z) constraint to an object in Puzzles or directly in Blender.
Oooh a constraint in Blender!!
(And you mean constraint in physics puzzles?)..see…FACEPALM! …
duuh!Thanks!
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-06-09 at 7:34 am #28563Mikhail LuzyaninStaffYes, both must work. On your choice.
Co-founder and lead graphics specialist at Soft8Soft.
2020-06-09 at 8:33 am #28567GLiFTeKCustomerworks perfect.should have known.
been doing more complex things that i forget the simple things.
thank you.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-06-09 at 8:36 am #28568GLiFTeKCustomerHOWEVER
GONNA HAVE TO ASK YOU THIS.. :)
i have an overhead orthographic camera that zooms.
im using the same technique to constraint it’s z value min max.
does this incorporate scrolling middle mouse scroll zoom??
… gonna have to go over this scenario…
https://www.soft8soft.com/topic/function-behind-the-mouse-wheel-scroll/Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-06-09 at 11:41 am #28577Mikhail LuzyaninStaffdoes this incorporate scrolling middle mouse scroll zoom??
I don’t think that this will work with ortho camera. As I can remember ther’s do not possible to zoom with ortho camera in Verge. May be it’s possible with JavaScript. I will ask our programmists.
Co-founder and lead graphics specialist at Soft8Soft.
2020-06-10 at 4:46 am #28598GLiFTeKCustomerWell I’m using my mouse scroll wheel to zoom. It’s working on the orthographic cam. I just want to have a min and max on it
According to that thread I linked it doesn’t dolly like the perspective cam.
Maybe things have changed since that thread was written though?Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-06-11 at 12:28 pm #28718Mikhail LuzyaninStaffWell I’m using my mouse scroll wheel to zoom. It’s working on the orthographic cam. I just want to have a min and max on it
Ortho camera works different in verge3d that in blender. In blender you can set limit constrain to limit local movement of the ortho camera, but you can’t move your camera with wheel mose zoom only by changing Ortho Scale parameter that ignore any constraint. In verge3D you can zoom ortho camera with wheel button but you can’t limit location of the object in local coordinats only in world. Hopeless situation, isn’t it?
Co-founder and lead graphics specialist at Soft8Soft.
2020-06-12 at 8:29 pm #28794GLiFTeKCustomerWell I’m using my mouse scroll wheel to zoom. It’s working on the orthographic cam. I just want to have a min and max on it
Ortho camera works different in verge3d that in blender. In blender you can set limit constrain to limit local movement of the ortho camera, but you can’t move your camera with wheel mose zoom only by changing Ortho Scale parameter that ignore any constraint. In verge3D you can zoom ortho camera with wheel button but you can’t limit location of the object in local coordinats only in world. Hopeless situation, isn’t it?
hmm could give the Ortho “no controls” in blender verge settings, then parent it to an empty and control that empty with the mouse.
think i’ll try that.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature! -
AuthorPosts
- You must be logged in to reply to this topic.