SimpleAnimator should understand "shorter syntax"

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

SimpleAnimator should understand "shorter syntax"

Post by rrTea »

From Help:
When assigning a property with several components (such as the x,y and z of Scale or Rotation) to the same value a shorter syntax is allowed.The following assignment:

CurrentModel.Scale=1;

Give the same result as:

CurrentModel.Scale.X=1;
CurrentModel.Scale.Y=1;
CurrentModel.Scale.Z=1;
Shouldn't SimpleAnimator's Target be able to similarly work with "CurrentModel.Rotation" the same way? Right now when you assign it to for instance Model.Rotation .. only the X-axis is modified.

Same for CurrentModel.Scale, RenderSetColor.Color etc.
Post Reply