Z-up is right. The code will center it at the lowest center point, of the bounding box. I almost posted a old script that I wrote a while ago that contained that line of code but decided against it. The code works fine for stand alone props and objects that don't need to align together. If one object has a piece that hangs…
Nice one haiddasalami! works as expected :) Anyway, so you have some tips to search this kinda 'tricky' code? I never thought that main toolbar has it's own script to control the items inside (even though those items already removed from the main toolbar). Another thing that I'm struggling to find is that sometimes the…
This page shows code with broken formatting. This code is pretty neat and works well too. To use it - run this corrected Python code: # Python code import maya.cmds as mc import maya.OpenMaya as om def getInstances(): instances = [] iterDag = om.MItDag(om.MItDag.kBreadthFirst) while not iterDag.isDone(): instanced =…
I started looking in to making a bunch of glass containers. With all the references I gathered and looking at the scene, I feel like there's going to be a lot of different bottles, jars, vials, etc. The more variation the better; different silhouettes, sizes and such will help make the scene feel busy. But I really didn't…
Hello, I have come up with another issue. I suspect this one will be simpler to resolve than my last! I created a simple master material for translucent glass. Blend mode is Translucent, shading model is Default Lit, lighting mode is Surface Forward Shading. I've parameterised the base colour and opacity, among a few…
UPDATE 11 I've had a bit of a pause on this project, but I am back on it for some time! Most of the code was re-written with more scalable structure. That allowed me to get in some nice features like more weapons, AI reactions and most importantly for this thread about 3D a destructible environment. There ain't much of it…
As someone who has worked the developer side of the mod community (while I was at id), encouraging and aiding community members to enhance my employer's game with mods and extend its life, I think the nail has been hit on the head by a number of posts here. Here are my assessments of what is likely going on with poor PPM…
Well after playing round it seems setting my tablet to Pen Mode fixes the issue. When in Mouse mode (what i've always used and become used to) it appears that the tablet/pen cant recognise that its not over the viewport and treats all the menu items as the viewport. Right click and the hotbox pops over the menus.. Other…
@HapZungLam2 - There's nothing special really. I've done all of this just starting from a node like cells and stripping out the pieces that I don't need, then adding my own stuff on top. There's a single iterate node that's the same as in cells, that's driven by the "Distance" parameter. @WarrenM and Dickie - I don't know…
Thanks for the welcome and thanks for answering! I find that interesting. What of say a tabard / loincloth? I'm guessing it's the same process as applying a hem or just leaving it be if it isn't ever possible to look at it from the side? In my case the players (multiplayer) can get up close (essentially up to the bounding…