I cant seem to make anything rotate.whether i want it to rotate to me or at random it just wont rotate!the only thing that will rotate is the entire structure and we all know thats easy to do.
Can someone post an example so i can see if i'm typing something in the wrong place?
I need help(woot first post in this part of the forum ever!)
-
- Posts: 4
- Joined: Sun Aug 26, 2007 5:02 am
You have 2 possibilities to rotate a part (any part can rotate)
Scroll your mouse over the part to rotate, and you will see that the Part has a number, like : Part#3
Enter the AI, Lives menu
If you want to rotate it that it will always target the player's ship, use: "rotatePartToShip," and enter the number of the part.
Example :
rotatePartToShip,3
Now the Part#3 will now rotate to the direction of the player's ship
Else you use "rotatePart, part#, speed, minAngle, maxAngle, startingAngle", to move it. Use only numbers to set the speed and the angles.
That's more tricky, but remeber do not mention the words speed, part#, only numbers are allowed (else it will not work)
Scroll your mouse over the part to rotate, and you will see that the Part has a number, like : Part#3
Enter the AI, Lives menu
If you want to rotate it that it will always target the player's ship, use: "rotatePartToShip," and enter the number of the part.
Example :
rotatePartToShip,3
Now the Part#3 will now rotate to the direction of the player's ship
Else you use "rotatePart, part#, speed, minAngle, maxAngle, startingAngle", to move it. Use only numbers to set the speed and the angles.
That's more tricky, but remeber do not mention the words speed, part#, only numbers are allowed (else it will not work)
-
- Posts: 17
- Joined: Thu Aug 23, 2007 12:16 pm
-
- Posts: 4
- Joined: Sun Aug 26, 2007 5:02 am
Thanks much. I kept part# in the coding....Shamil wrote:You have 2 possibilities to rotate a part (any part can rotate)
Scroll your mouse over the part to rotate, and you will see that the Part has a number, like : Part#3
Enter the AI, Lives menu
If you want to rotate it that it will always target the player's ship, use: "rotatePartToShip," and enter the number of the part.
Example :
rotatePartToShip,3
Now the Part#3 will now rotate to the direction of the player's ship
Else you use "rotatePart, part#, speed, minAngle, maxAngle, startingAngle", to move it. Use only numbers to set the speed and the angles.
That's more tricky, but remeber do not mention the words speed, part#, only numbers are allowed (else it will not work)