Jump to content

Recommended Posts

Help,

 

I cannot understand why this is not working or what i'm missing.

class bolt_turn
{
	type="rotationX";
	source="isempty";
	selection="bolt";
	memory=1;
	minValue=0;
	maxValue=1;
        axis="bolt_axis" //first mempoint in the front end and second mempoint in the other end of the bolt
	angle0=0;
	angle1=0.7;
};

For some reason that i cannot understand the bolt moves about 10-15cm away from the axis.

There is nothing else using the same axis/ source/ selection

 

Share this post


Link to post
Share on other sites

If it's rotating around some axis that seems distant from where you placed your axis in the memory LOD, it's almost certainly because you don't have the named property autoCenter = 0 in your weapon's Geometry LOD.

 

You need to right-click the named properties window while the Geo LOD is active ([Ctrl+1] toggles the window if you don't know which one it is), then in the "Name:" field type autoCenter, followed by 0 in the "Value:" field

  • Like 1

Share this post


Link to post
Share on other sites

Yeah apparently it was the autoCenter that caused this problem. To be honest i had no idea that there was such a thing.

Well the problem is fixed, thanks both of you.!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×