Product Chat / Loopanimation issues

Author
Message
Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 13th Jan 2017 05:34
I have a rotor i made a seamles animation of turning in blender but when i try to loop it in game guru but when the animation ends antryy to loop it glitches for a frame poping up and sometimes disapering for a frame before it runs the animation normal again the problem is at the start of the loop
this is the script i am runing


And at the fpe i set

;anim
animmax = 1
anim0 = 0,79
playanimineditor = 0

the full animation is 80 it needs - one frame to be seamless but i tryed with 80 too it stilll glithes
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 13th Jan 2017 05:40
0 isn't an animation frame, change your frames to 1,79

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 13th Jan 2017 06:24
no it wasent the 0 it was my mistake from blender i fix it so problem solved
PM
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 13th Jan 2017 08:56
Even if there was an error in blender, you should never use the 0 frame for animation, it should always be listed as 1,79 etc.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 13th Jan 2017 10:18
As Bod said if the animation is a looping animation you want to play as its default animation then you don't need a script, just change playanimineditor = 0 to playanimineditor = 1 and it will run the animation automatically.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Emrys
10
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 13th Jan 2017 10:19
Bod wrote: "Why do you need a script ? The model should be loop animated when dropped in the level if it's animation is defined in the .fpe"


Bod is spot on
PM
Emrys
10
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 13th Jan 2017 10:20
haha beat me to it Belidos
PM
Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 13th Jan 2017 13:50
It will work in game too?
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 13th Jan 2017 14:01
Yes it will.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Login to post a reply

Server time is: 2024-07-05 11:09:56
Your offset time is: 2024-07-05 11:09:56