In the beginning of my program I have the following:
GameObject transTest
= new GameObject
("transTest");Console
.WriteLine(transTest
.Position.ToString());transTest
.Transform.Translate(new Vector2f
(50
.0f, 50
.0f
));Console
.WriteLine(transTest
.Position.ToString());GameObject is a class which inherits from Transformable. The output is as follows:
[Vector2f] X(0) Y(0)
[Vector2f] X(0) Y(0)
Clearly, the object isn't moving. I did some googling and discovered that you're supposed to adjust Transformables with "move", "setPosition", "rotate" etc. But none of those appear to exist in the .Net release (don't appear in intellisense, or in the documentation). The only things Transformable appears to add is "position", "rotation" and "scale" attributes, none of which can be changed directly, and the Transform itself, and changing it doesn't appear to do anything.
What am I doing wrong?