Why?!
07-25-2005, 09:20 PM
EDIT: LOOK AT POST #6 FOR MORE INFORMATION
Ok I am working on a project that involves a rotational bundle. What I need is to get an object to rotate from a vertical upright position, to a horozontal position. I also need this to happen on two sides.
*Explanation to image below*
http://img278.imageshack.us/img278/1518/rotationalhelp3ik.gif
Figure 1 represents the left side object that needs to rotate to the left. With the code right next to it, it accomplishes this perfectly. While at the same time it does not allow it to rotate to the right.
For the opposite side I need to mirror these actions. So I simply do the exact opposite of what is shown in Figure 1.
With the code shown in Figure 2 the object will not budge no matter what I do. I have tried every combination (trust me, I have been at it for the past two days) of where to put the 90 and where to put -s.
Figure 3: I eventually on accident put both a 90 in maxrotation and a -90 in minrotation. When I did that I literally shouted with excitement as the object folded in the correct position. However I soon after noticed that it would also rotate in the same direction as the one on the left given the right input. With what I am working on I cannot have one of them moving in both directions.
Just to be clearer, the problem is that the object cannot rotate to the right, unless it is allowed to rotate to the left. Now I know that this just cannot be true and there absolutely must be a way to do this. There is no way that something this simple is hardcoded into the engine.
I already showed this to a friend who has no experience in coding. The thought behind this was that maybe the problem was so elementary that I am missing it. After he looked at it for awhile and he figured out what all the values did, he was as confused as I. I see no reason to the problem I am having right now.
Any help would be greatly appreciated. I am working on what I guess could be considered a spiritual successor to my original TurboJeeps 1942 mod, and I would really love to release it after seeing the reaction of the people I have shown it to.
Ok I am working on a project that involves a rotational bundle. What I need is to get an object to rotate from a vertical upright position, to a horozontal position. I also need this to happen on two sides.
*Explanation to image below*
http://img278.imageshack.us/img278/1518/rotationalhelp3ik.gif
Figure 1 represents the left side object that needs to rotate to the left. With the code right next to it, it accomplishes this perfectly. While at the same time it does not allow it to rotate to the right.
For the opposite side I need to mirror these actions. So I simply do the exact opposite of what is shown in Figure 1.
With the code shown in Figure 2 the object will not budge no matter what I do. I have tried every combination (trust me, I have been at it for the past two days) of where to put the 90 and where to put -s.
Figure 3: I eventually on accident put both a 90 in maxrotation and a -90 in minrotation. When I did that I literally shouted with excitement as the object folded in the correct position. However I soon after noticed that it would also rotate in the same direction as the one on the left given the right input. With what I am working on I cannot have one of them moving in both directions.
Just to be clearer, the problem is that the object cannot rotate to the right, unless it is allowed to rotate to the left. Now I know that this just cannot be true and there absolutely must be a way to do this. There is no way that something this simple is hardcoded into the engine.
I already showed this to a friend who has no experience in coding. The thought behind this was that maybe the problem was so elementary that I am missing it. After he looked at it for awhile and he figured out what all the values did, he was as confused as I. I see no reason to the problem I am having right now.
Any help would be greatly appreciated. I am working on what I guess could be considered a spiritual successor to my original TurboJeeps 1942 mod, and I would really love to release it after seeing the reaction of the people I have shown it to.