Notifications
Clear all

[Closed] Sdk modifier gizmo

I’ve created a plugin of class type Modifier. I now need to add a gizmo to my modifier so the user can adjust the rotation and position. Does anyone have suggestions or info on how to so this. I’m completely lost on how to do it

Thanks

4 Replies

do a search for “selmod.cpp” in the sdk samples. It has some good stuff in it.

oh, the mirror mod is a big smaller. look at that one

I will check this out. The mirror modifier seems much simpler. I think this will help out.
Thank you.

Do you know what i should be looking for in particular?

well I hope I get this all right.

you would declare a subobject first

static GenSubObjType Move(1);
static GenSubObjType Scale(2);

then look for…
GetSubobjectLevel()
SetSubobjectLevel()
GetSubObjectTMs()
NumSubObjTypes()
ActivateSubobjSel()
SelectSubComponent()

This is all I used I think??? but, like I said the mirror is very easy sample