Watch My Player Dance!!
by Jerane Alleyne · in Torque Game Engine · 05/01/2002 (5:40 am) · 0 replies
I've noticed an interesting thing early on while I was playing with the RunForce field in the PlayerData datablock class. I though I'd bring it up now...
I was using RunForce to test it use a a means to control the player acceleration, so I tried lower number that the default used for the acceleration value. Now this seemed to give some fairly adequate results, but when I went to a free camera view, I noticed that the player model was jittering...kind if like it was trying to move but was caught. When I went back to the player, it was fine, but started up again when I went to the free camera. Since we won't really need to leave the player in this method during a game, I am curious what causes this, and if there are any other side affects of playing with the RunForce. I don't have the exact numbers I used then, I would say if my RunSpeed was 25, the acceleration I used in Runforce would be 10 or 15.
Appreciate the help :)
Jerane Alleyne
==============
Lead Artist
www.eventalpha.com
I was using RunForce to test it use a a means to control the player acceleration, so I tried lower number that the default used for the acceleration value. Now this seemed to give some fairly adequate results, but when I went to a free camera view, I noticed that the player model was jittering...kind if like it was trying to move but was caught. When I went back to the player, it was fine, but started up again when I went to the free camera. Since we won't really need to leave the player in this method during a game, I am curious what causes this, and if there are any other side affects of playing with the RunForce. I don't have the exact numbers I used then, I would say if my RunSpeed was 25, the acceleration I used in Runforce would be 10 or 15.
Appreciate the help :)
Jerane Alleyne
==============
Lead Artist
www.eventalpha.com