Notifications
Clear all
[Closed] Can struct object inherit Node
Mar 31, 2008 7:06 am
Struct originally inherit Value , so it has these methods like print(), format(), classOf(), superClassOf(), isKindOf()…
I want to define a Struct as a Node object which has attributes pos, rotation,dir and pivot.
The simple way is to inherit Node . How can I do to inherit Node ?
2 Replies
Mar 31, 2008 7:06 am
MAXScript isn’t an object oriented language so you cannot inherit anything. You have to add these properties to your struct or hold a node object in it.