BloodRedd / gamekit

Automatically exported from code.google.com/p/gamekit
1 stars 0 forks source link

lua script playAnimation play from begining #282

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Branch name:

Feature description:

i add 4th parameter for gsGameObject::playAnimation . a boolean value. if set 
true the animation player will play from begining. default is false so the 
animation will resume last time it played.

i add a lookAt function which i get the codes from the forum. it is usefull to 
make camera or other object to immediately facing a 3D position

in the patch file i also change the gkEditObjectActuator adding 2 function 
suspendDynamics and restoreDynamics, i'm also still triying to finish other 
options too, since i needed them. 

please have mercy on me, since this is my very first svn things. i hope this 
helps

Original issue reported on code.google.com by kornwar...@gmail.com on 30 Oct 2012 at 12:41

Attachments:

GoogleCodeExporter commented 8 years ago
Thx kornelius, everything worked perfect. Couldn't have been better. (Ok, if 
you want, you can provide to new functions also Test-Blends. I created two 
test-cases. But that is really optional).

In the Suspension-Part I removed the if-conditions. I assume that was part of 
endObject-method that you used as template 'cause this makes only sense there.

Here are the commits:
http://code.google.com/p/gamekit/source/detail?r=1206
http://code.google.com/p/gamekit/source/detail?r=1207

Thx again, and keep on rocking...

Original comment by thomas.t...@googlemail.com on 30 Oct 2012 at 4:56