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

User avatar
rrTea
Posts: 320
Joined: Sat Feb 15, 2014 9:54 am

SimpleAnimator should understand "shorter syntax"

Postby rrTea » Thu Nov 20, 2014 2:18 am

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.

Return to “Feature requests”

Who is online

Users browsing this forum: No registered users and 1 guest