Тема
: [Box2D]
линейное ускорение
Показать сообщение отдельно
25.02.2013, 23:42
№
4
Bgg
Регистрация: Jan 2009
Адрес: Петерсбург
Сообщений: 1,882
Цитата:
Сообщение от
taluks
в чем разница такого эффекта, если ускорения не заметно, то ведь можно с интервалами и скорость линейную просто менять?
It is very tempting to use the SetLinearVelocity function to explicitly set the velocity for a body to accomplish this, and indeed it does get the job done, but this approach has its drawbacks. While it often looks fine on the screen, setting the velocity directly means the body is not correctly participating in the physics simulation.
Bgg
Посмотреть профиль
Отправить личное сообщение для Bgg
Найти все сообщения от Bgg