eek
@eek
New Member
Joined: Feb 14, 2024
Topics: 25 / Replies: 462
Reply
RE: Setting up scripts as importable OR executable

check if the function exists in a struct, if not, evaluate the main code. fn test inScript:testStruct.test() = ( if inScript != undefined then ( prin…

17 years ago
Forum
Reply
RE: Calculate geometrical center of specific animated objects

sorry i thought it was a single mesh. If its a bunch of objects you could either use a position constraint or script it: a, b, c are assigned as vari…

17 years ago
Forum
Reply
RE: Calculate geometrical center of specific animated objects

You want the bounding box x and y center, with the z of the ground plane. Use bbox.min and .max.

17 years ago
Forum
Reply
RE: Need help to Generate Points based on a Mesh

Firstly if the road has a thickness – you could use a section shape to get its outline. You could then removed each end of this shape to leave the out…

17 years ago
Forum
Reply
RE: is it possible to update slider width according to the size of UI?

Why not check if the rollout is different from its start size with a variable or a constant and rebuild the sliders if its changed using execute.

17 years ago
Forum
Reply
RE: Tagging a keyframe

I think thats the only way – a key would need to be stored in some array and have a unique identifier. For example the link controller stores the keys…

17 years ago
Forum
Reply
RE: Tagging a keyframe

Thats my point.

17 years ago
Forum
Reply
RE: Tagging a keyframe

hmm… not sure about unique ID. If you deleted it wouldnt all the other be reordered? ala vert id?

17 years ago
Forum
Reply
RE: Tagging a keyframe

I thought about this too, would be cool for fk-ik stuff – im just not sure how you would reference it though changes in time etc… What is a key in th…

17 years ago
Forum
Reply
RE: Updating Rig Objects via MaxScript (3DS Max 9)

My approach is sort of different to a lot of things – its sort of a hybrid method to ILMs block rigging method. Im approaching it in terms of a skelet…

17 years ago
Forum
Reply
RE: Updating Rig Objects via MaxScript (3DS Max 9)

IkerCLoN: Well, in my opinion it depends on how much time you have to develop a working solution. I’m quite new to scripting, and I never programmed…

17 years ago
Forum
Reply
RE: parent follow child

What about not parenting them and just instancing A’s position / rotation to B? Then they’ll follow each other. If you need a to be parent to somethin…

17 years ago
Forum
Reply
RE: Custom Morph Modifier – Weighting question

make a morph of both targets, then below the morpher in the stack add a volume select with verts selected, and soft-select selecting only half the fac…

17 years ago
Forum
Reply
RE: Multiple selection in Dialog Box?

Then a “Multilistbox” it still is!

17 years ago
Forum
Reply
RE: Snapshot vs. SnapshotAsMesh (and a thank you)

snapShotasMesh will definately make a copy of an object in the scene. And as you said, just after you’ve made it append it to an array and delete that…

17 years ago
Forum
Page 15 / 33