liu.yan Posted March 8, 2017 Posted March 8, 2017 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?
silent Posted March 10, 2017 Posted March 10, 2017 Hi Liu, Have you tried to adjust physics settings to get it more precise? How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts