Cnanging box position isn't rendered.

Oct 20, 2010 at 8:24 AM

Code like:

 

private void RenderFrame(object sender, EventArgs e)
{
right_foot.Position.Z += 1;
}

 

doesn't work. Where right_foot is the Box.

But code

 

private void RenderFrame(object sender, EventArgs e)
{
right_foot.Position.Z += 1;
right_foot.Rotation.Z += 1;
}

works fine. Silverlight 4.

It seems like broken propagation of Changing Position Event.

By the way, I can't clone your repositary. Because of http://codeplex.codeplex.com/workitem/25580.

Oct 20, 2010 at 11:07 AM

Here is working code

right_foot.Position = new Coordinate(right_foot.Position.X, right_foot.Position.Y, right_foot.Position.Z + 1);

Coordinator
Oct 20, 2010 at 8:16 PM

Where are you doing this? What event?

If you look at the Programmatic sample in the SampleBrowser - you'll see that I override the OnUpdate() method inherited from the Game class and do Rotation.Y += 1;

Sorry about the cloning issue you got, I'm trying to clone the repository to see if I get the same problem and will report that back to Codeplex, thanks for letting me know. 

Coordinator
Oct 20, 2010 at 8:27 PM

Tried cloning now and it worked. Could you please try that again.

Oct 20, 2010 at 9:02 PM

To reproduce bug with cloning your connection must be slow enough for cloning take more than 16 minutes. Also, I've cloned it already by the methodic described in aforementioned issue http://codeplex.codeplex.com/workitem/25580.

Coordinator
Oct 20, 2010 at 9:06 PM

Ahh.. Ok, I'm spoiled with fiber. Took a minute or so. 

 

Oct 20, 2010 at 9:14 PM

About my first question. Excuse me, but my English languge quality, doesn't promise to make things more clear, if I try explain.  I think there are enough details. Anyway, I can use Coordinate, and now this issue isn't matter for me.

Thanks for the beatifull project.

Coordinator
Oct 21, 2010 at 6:47 PM

Thanks. Glad you like it.