jgheld Posted June 7, 2016 Share Posted June 7, 2016 If I am in the air, how do I find the position of the ground where I am? I assume that would be the Z axis. Thanks! Link to comment Share on other sites More sharing options...
leethx Posted June 7, 2016 Share Posted June 7, 2016 thePlayer.GetWorldPosition() gets you an vector with the position of the player.Didn't test it, but the Z coordinate should be correct aswell. Link to comment Share on other sites More sharing options...
jgheld Posted June 8, 2016 Author Share Posted June 8, 2016 thePlayer.GetWorldPosition() gets you an vector with the position of the player.Didn't test it, but the Z coordinate should be correct aswell.I know how to get Geralt's current location. What I want to do is for a certain location that he is in, what position do I need to move him to to be on the ground? So if he is falling, how far down should I move him. And if he is under the ground, how far up? Link to comment Share on other sites More sharing options...
Recommended Posts