Player velocity

User avatar
LorenzoVulcan
Member
 
Posts: 437
Joined: Mon Mar 12, 2012 06:46

Player velocity

by LorenzoVulcan » Fri Dec 21, 2012 14:46

Is there any API for getting a player entity velocity?"getvelocity" returns a nil value.
Developer of the BlockForge 2# Project!
Official thread: http://minetest.net/forum/viewtopic.php?pid=54290#p54290
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02

by Zeg9 » Fri Dec 21, 2012 15:05

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...
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

User avatar
LorenzoVulcan
Member
 
Posts: 437
Joined: Mon Mar 12, 2012 06:46

by LorenzoVulcan » Fri Dec 21, 2012 15:08

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.
Developer of the BlockForge 2# Project!
Official thread: http://minetest.net/forum/viewtopic.php?pid=54290#p54290
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 10 guests

cron