Page 1 of 1

Player velocity

PostPosted: Fri Dec 21, 2012 14:46
by LorenzoVulcan
Is there any API for getting a player entity velocity?"getvelocity" returns a nil value.

PostPosted: Fri Dec 21, 2012 15:05
by Zeg9
Would be nice to be able to change it, too.
Don't think it's possible, but you can check the keys/controls of the player...

PostPosted: Fri Dec 21, 2012 15:08
by LorenzoVulcan
Zeg9 wrote:Would be nice to be able to change it, too.
Don't think it's possible, but you can check the keys/controls of the player...

Controls set the "walking" bool as true.I think walking velocity is actually a C core function.