Project X Forums
http://px.worms2d.info/forum/

Scripting problem
http://px.worms2d.info/forum/viewtopic.php?f=15&t=389
Page 1 of 1

Author:  trop [ Tue Nov 29, 2011 9:31 pm ]
Post subject:  Scripting problem

Hello! I need to change the worm PosX coordinate each physics tick.
Code:
worm->PosX += dX

It works quite right. But when a worm is moving (left or right arrow is pressed) then it doesn't work. The PosX coordinate grows according to the walking algorithm as if the code above didn't exist.
Please help.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/