Jump to content

Problems on Controlling Player's Moving Speed


photo

Recommended Posts

We are currently controlling the speed by calling Unigine::Game::get()->getPlayer()->updateControls() in World::update routine.

It does control the speed when "W,A,S,D,Q,E" is pressed. But, if this value was set too large, the collision detection of the player would went wrong: Player may penetrate some solid object while flying.

So, is this(updateControls()) the formal way to control the Player speed? or is there a better way? 

Link to comment
×
×
  • Create New...