Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi guys, can someone please come up with an action or procedure where if an object rotation is for example equal to 0,90,0 a specific action should be carried out |
||||
|
// The following embedded xml is for the editor and describes how the behavior can be edited: minThreshold - minimal angle for action to be executed; maxThreshold - maximal angle for action to be executed; normalize - should normalize angle to keep it between 0 and 360 or not axis - axis which you track, should be x, y, or z; execute - should action be executed if initial rotation is inside threshold value or not actionToExecute - action to execute |
||||
|
it replaces "execute" with "execute" for some reason. |
||||
|
What the hell? You can't type inside the post? |
||||
|
Thanks for you attention okeoke, must I alternate the code or it is flawless? |
||||
|
Np. Try if it works for you. If it does not - it should be modified or fixed, if not I guess it's ok:) |
||||
|
@okeoke can you send as a script |
||||
|
Sure. Script and test ccb:https://drive.google.com/file/d/... |
||||
|
Thank you |
||||
|
I though this was an action script. |
|