Wouldn’t your user prefer to select the morpher name from a dropdownlist, rather than have to type it in?
Shares != Directories
You can use the following methods to create generic instances in maxscript. The usage is self-explanatory. fn getGenericType strType genericParams = …
untested std::vector<MSTR> names; Interface* ip = GetCOREInterface(); for (int i = 0; i < ip->NumAtmospheric(); i++) { names.push_ba…
Sorry, I had just woken up when I wrote that. If you only need the midpoint, then lerp is fine, just (a+b)/2 it.
Lerp has certain inaccuracies, depends on what you need the averaged vector for. See this explanation for various techniques:
Oh, I missed the scrolling in the first code block, took me like 5 readings to get the point. You can use the asDotnetObject flag when calling any do…
What’s wrong with casting? return unchecked((IntPtr)(long)(ulong)animHandle);
You can only used typed arrays (tabs) in parameter blocks. In your class, the type of the parameter would be #stringTab
The following is a method I use to query various information from PC2 files. It’s generally based on the PointCache code in the SDK examples. def_vis…
dot product can only return an angle in the 0-180 range. It treats both cases as the same angle. Instead, use atan2 to find the angle. fn GetVectors…
No idea why structs fail, but the code is available in the SDK if you want to investigate: …\samples\maxscript\mxsagni\extclass.cpp
It works when the function is not inside a struct.
I’m not speaking from experience, but it sounds like that shouldn’t happen. Perhaps find out why it is being called all the time? Are you properly set…
Yes, or more specifically, I need to know which objects have changing topology.