Jump to content

Moving/Scaling Primitives with script.


Recommended Posts

As the title says. Let's say I am talking about a Triggerbox that I want to Scale with a script through a function that fires in a given situation.

From what I could see it is not possible, but i rather ask on the forum incase i have missed something on the scripting reference list...i seriously doubt it though.

Adjusting the primitive in the CK is not an option, to permanent, I want it to be done dynamically, like through a holotape.

 

TranslateTo, Setposition etc does not work. Set scale is also out of the question as it is based on objects with uniform scale and not primitives that can be scaled in all axis.

 

I have been thinking about simply dulpicating a shitload of triggerboxes to get the size I want and just add keywords with the script instead.

 

Thanks.

- Necro -

 

Link to comment
Share on other sites

Hmm not sure that is what I want to do. Oh well, just have to do it the hard way then...would be easier if I could just use something like "GetPrimitiveScale(afX, af-X afY, af-Y, afZ, af-Z)" and "SetPrimitiveScale(afX, af-X afY, af-Y, afZ, af-Z)" Under a new category of PrimitiveReference. Or use each own for Trigger, Occulsion and Collition Primitives for that matter. Well well. It seems that it would be more efficient to just duplicate these markers and use enable/disable on them instead.

 

Thanks though ^^

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...