You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this is not supported and the up needs to be initialised ie. (up = new Vec3(0, 1, 0)).
This should be easy to implement for local constant values defined within the program, however for playcanvas values ie VecX.UP etc, the parser only has the playcanvas types and not the actual values ie static readonly UP: Vec2;.
Any solution would need to account for both constant values within the program, and constant values defined with the engine.
The text was updated successfully, but these errors were encountered:
Similar to #12, it would be useful to specify default values via references
Currently this is not supported and the up needs to be initialised ie. (
up = new Vec3(0, 1, 0)
).This should be easy to implement for local constant values defined within the program, however for playcanvas values ie
VecX.UP
etc, the parser only has the playcanvas types and not the actual values iestatic readonly UP: Vec2;
.Any solution would need to account for both constant values within the program, and constant values defined with the engine.
The text was updated successfully, but these errors were encountered: