Saturday, January 6, 2007

Rivet

Allright, now start with some real posts:

the recent two days I searched for a way to do the rivet thing using a method other than what Michael Bazhutkin used (www.geocities.com/bazhutkin). I found a way that use only 3 nodes where Bazhutkin's version use 5 nodes (including aimConstraint node), I wrote the script and it was working very well, but it was 2 times slower than Bazhutkin's version.

What I did was, I used two pointOnMeshInfo node which gives a position and normal vector, and an aimConstraint node. The first pointOnMeshInfo node calculates the position and normal the second one is just used for to get the position that aimConstraint will try to aim.

The problem is that if I used 2 pointOnMeshInfo nodes just to see how fast that they calculate, it is 2 times faster than Bazhutkin's, but the locator doesn't rotates of course, if I use 1 pointOnMeshInfo node and one aimConstraint node it is again 2 times faster, but the locator doesn't points the right point of course...

It gets slower when I try to use three of them. I will try to find a way to use only one pointOnMeshInfo and one aimConstraint nodes.

1 comment:

GuildWars2Items said...

Fear not that the life shall come to an end, but rather fear that it shall never have a beginning Sell RS Gold, What gets us into trouble is not what we don't know.It's what we know for sure that just ain't so Sell Runescape Gold, Life is like a hot bath. It feels good while you're in it, but the longer Sell RS Gold you stay in, the more wrinkled you get.

Life is not measured by the number of breaths we take scarlet blade gold, but by the moments that take our breath away scarlet blade gold. I have a simple philosophy: Fill what's empty scarlet blade gold.