Hey i havent poster anything in some time and since i posted a topic which some of you may know but is no more. After posting it i felt kinda bad cuz RF is a good engine so i tryed to make onother game but i got a problem.
The problem is the script comand rotate. When i try to rotate the x axis (if its the first one you put in "90.0.0.") it rotates in a flash very fast like in one frame the other axis are fine.
The way i wanted to use it was verry simple you press a key and it rotates 90 deg. And changes its state but theres no problem there.
I tryed every thing until i got so pissed i just deleted everything.
here's exacly what i was doing...
I made a model.(simple box like model)
Made it an actor and a pawn.
Made a simle level there the pawn is in the center floting.
Wrote a simple script for the setup such as scale no colision no gravity and attached a camera.
all i want it to do is rotate 90 deg x then i press "W".
Failed over and over and over again and deleted it all.
If any ones wants to try to do the same it should take you 5-10 mins top.
And if you don't have a problem then i F***** up.
Rotate
did you try this?
Rotate(char *Animation, float RotationSpeed, float AngleX , float AngleY, float AngleZ, char *Sound );
Rotate the actor the number of degrees in AngleX, AngleY, and AngleZ at a rotation speed of RotationSpeed degrees per second while playing the actor's Animation animation.
Rotate(char *Animation, float RotationSpeed, float AngleX , float AngleY, float AngleZ, char *Sound );
Rotate the actor the number of degrees in AngleX, AngleY, and AngleZ at a rotation speed of RotationSpeed degrees per second while playing the actor's Animation animation.
RF2 site: http://realityfactory2.sourceforge.net/
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
RF2 tasks: http://sourceforge.net/pm/?group_id=179085
- QuestOfDreams
- Site Admin
- Posts: 1520
- Joined: Sun Jul 03, 2005 11:12 pm
- Location: Austria
- Contact: