#Player velocity

3 messages · Page 1 of 1 (latest)

vernal plank
#

How would I access or set the player's current velocity?

languid solar
#

player.Speed
you can get the player via:
var player = Scene.Tracker.GetEntity<Player>();
(or Engine.Scene if your function is not part of an entity)

vernal plank